Bug #8208 2006-07-26 17:15

tdb

Abysmal performance

Code::Blocks is REALLY sluggish when editing files. Usually I get about 3-5 screen updates per second when I type something or even just move the cursor. If I have another CPU intensive process running, C::B becomes practically unusable at an update rate of 1fps. And this is a dual CPU box. Have other Linux users seen anything like this?

I'm running Debian unstable with wxGTK 2.6.3 and Code::Blocks r2775 compiled with GCC 4.1.2. My main system is a dual AthlonXP 2600+ with 3GB of RAM and a GeForce 6600GT, and I've seen the same problem on several other systems as well.

Category
 
Group
 
Status
Closed
Close date
2007-03-09 05:16
Assigned to
biplab
tdb 2006-08-08 18:56

This appears to be dependent on computer uptime. The performance starts to get noticeably worse after 20-30 days. It sounds suspiciously similar to one problem I encountered in one of my programs - I was counting seconds since program startup with a float variable, and after a couple weeks, it ran out of precision and framerates started to drop. I'm not exactly sure how this would affect C::B though, but maybe you guys know your code better.

biplab 2007-03-09 05:16

A fix has been applied in revision 3676 which reduces the CPU usage. You'll find newer C::B to perform better.

Thanks for your feedback.