Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

BYO games plugin :)

<< < (8/14) > >>

BordRider:
P4 3.2G w/2G RAM, WinXP Pro:

30% processor usage
wow

Game_Ender:
Offtopic about CPU usage:


--- Quote from: BordRider on June 17, 2006, 12:08:50 am ---P4 3.2G w/2G RAM, WinXP Pro:

30% processor usage
wow

--- End quote ---

1.6 Pentium M w/1GB Ram, Ubuntu Drapper

Spikes to 100% usage while editing text:  wow

Neither Scite or wxStEdit text editor have usage that bad.  The wxStEdit  editor is hard on the processor but not as bad as CB.  For comparison its faster to edit text file in Eclipse than in CB!

thomas:

--- Quote from: Game_Ender on June 17, 2006, 07:04:58 am ---Neither Scite or wxStEdit text editor have usage that bad.  The wxStEdit  editor is hard on the processor but not as bad as CB.  For comparison its faster to edit text file in Eclipse than in CB!
--- End quote ---
I believe the previous post related to the tetris game rather than editing. ;)

Anyway, it's been said before, but I'll repeat this any time. Many weeks ago, I suspected that this CPU usage may come from many update_ui messages (which seems plausible if you look at their number). I made a patch and asked the people who were suffering from particularly high CPU usage to test it and verify if the patch made anything better. Michael even made a binary build for everybody's convenience.

User follow-up was ZERO.

Thus, if everybody just keeps saying "this sucks" but nobody is willing to invest 3 minutes to help confirm a probable cause, then honestly, I can only reply "well, then it is not important".

Code::Blocks uses update_ui messages to keep the state of the menu items and toolbars in sync. The code changes necessary to do without these would be massive. You will understand that I am not starting such an endeavour based merely on a vague idea that it might possibly have to do with a problem.

Game_Ender:
Thomas, if you are talking about this post.  I tried that and it has no effect.  Which kind of makes sense because I don't think cbEditor had any.  I will continue the discussion in that thread.

tiwag:
Thanks Byo, great plugin, great game as well !

with the actual project setup i got problems during debugging, therefore i've changed the
"working dir" and "host application" pathes in the project file

also i've added to rotate clockwise when Shift-key is pressed together with the UP-key

added some Guidelines too



if someone is interested, here's the patch
[edit] patchfile removed, newer one added in later posting

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version