User forums > Help
Slow perfomance on linux (Ubuntu Dapper)
sque:
Hi!
1st of all, REALLY Ty for this great IDE, although it is still under development it is a much promising project and it is something that was missing from the free community :D
My main prob is that code::Blocks works slow on linux (the widgets rendering part). I have compared the same version 1.0RC2 on windows and the speed is uncomparable.
More specificly the scroll inside the editor (and on th project browser) is jerky -laggy. Also If I start typing something my cpu pops to 100% (this may be code completetion related but it may be rendering prob again).
Another example is that if I change virtual desktop and return to the one that Code::Blocks is opened, the window of Code::Blocks takes about 1 sec to rerender every part of it. I know that the values (of time) that I am complaining are quite low, but why on Windows is so much faster?
I tried the latest build too (11 april) and same results.
Notice: Similar behaviour had Firefox on my machine (It is an ubuntu package bug of firefox) and I fixed it by setting a enviroment value to disable firefox to use Pango. I am just saying it in case that maybe a similar bug(?).
I hope to see it fixed sometime, till then I will keep up my work on Code::Blocks as it semi-rocks (code completition must be finished :P ) :)
takeshimiya:
Can you confirm the 100% cpu thing happens also with other Scintilla based text editors? (ie. SciTE, wyoEditor, Anjuta, etc).
About slow rendering, GTK2 is not fast, not at least by default.
You can disable pango rendering as you've done with Firefox, but expect to loose text antialiasing and internationalization.
But the truth is that Scintilla without pango is so much faster, so it's your choice: fast or nice.
cyberkoa:
I was using Ubuntu Breezy 5.10 a few days ago with the latest SVN (at that time) , very smooth and very unlikely encounter bug (though sometime will hang the session, need to switch to console to end)
could it because Dapper is still not stable yet ?
sque:
--- Quote from: Takeshi Miya on April 13, 2006, 06:08:42 am ---Can you confirm the 100% cpu thing happens also with other Scintilla based text editors? (ie. SciTE, wyoEditor, Anjuta, etc).
--- End quote ---
I installed SciTE and tryied writting quickly many many words at many highlitting modes. The biggest cpu usage was 30-40%. I also tried the same at gedit, same results.
At Code::Blocks with a slow rate of typings it gets 100%. I am not a very fast writter, but the lag is noticable. Offcourse this doesn't make code::blocks unusable but It's annoying!
sque:
--- Quote from: cyberkoa on April 13, 2006, 06:23:13 am ---I was using Ubuntu Breezy 5.10 a few days ago with the latest SVN (at that time) , very smooth and very unlikely encounter bug (though sometime will hang the session, need to switch to console to end)
could it because Dapper is still not stable yet ?
--- End quote ---
I was using breezy too before a couple of days and I had the same prob. Maybe its an ubuntu related thing...
btw, I dont compile source of code::blocks, I use the .deb that you give for ubuntu distros.
Navigation
[0] Message Index
[#] Next page
Go to full version