Bug 77964 - Speed decrease in konsole from 3.1 to 3.2, possibly related to KTabBar.
Summary: Speed decrease in konsole from 3.1 to 3.2, possibly related to KTabBar.
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 00:29 UTC by Ray Russell Reese III
Modified: 2005-03-29 06:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Russell Reese III 2004-03-19 00:29:30 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3 
OS:          Linux

When switching from KDE 3.1.5, to 3.2.1, one of the major changes to Konsole was removing the buttons and replacing using them with KTabBar. Since then I have noticed a performance change in Konsole. Switching Sessions, creating new Sessions and redrawing them (ie from a Virtual Desktop change) is extremely lagged.  To the point it can sometimes take a whole second to draw the session window.

Closer inspection of the changes in the source from 3.1 to 3.2, in 3.1, it would appear konsole has one TEWidget per Konsole instance, where 3.2 has one TEWidget PER SESSION. Instead of having the contents in the TEWidget changed and repainted like in 3.1, in 3.2 the entire TEWidget component is repainted, border and all.

This is a huge amount of extra work being done for absolutely no gain and is a noticeable speed decrease. I can run Konsole from 3.1, and Konsole from 3.2 side by side, with the same types of sessions loaded, and see the speed difference. And this is on a Pentium 4 2.66GHz Xeon box with a gig of RAM.

To double check that just my computer wasn't handling this properly, 4 other computers, of simliar speed (2GHz or greater) all show the same speed decrease when running konsole 3.1 and konsole 3.2 side by side.
Comment 1 Stephan Binner 2004-03-21 21:21:57 UTC
> This is a huge amount of extra work being done for absolutely no gain

Consistency, tab context menus. Just to name some.

> and is a noticeable speed decrease.

One second on your system points to existence of another problem.
Comment 2 Allen Chen 2004-03-22 19:32:56 UTC
I am experiencing the same problem as Ray, although it seems even worse for me.  I use Konsole on one virtual desktop and frequently switch between that desktop and others.  When I switch back to the desktop with Konsole, it takes almost three whole seconds before I can start typing into the Konsole again even though other apps respond fine.  Also, I see my CPU spike up to 100% (via gkrellm) during those three seconds.  I had none of these symptoms when I was using 3.1.  I've experienced this on both a P4/2.66 and an Athlon XP 2500+ running Linux with 2.6.3 and 2.4.22 kernels, respectively.
Comment 3 Stephan Binner 2004-03-22 19:40:58 UTC
You use transparency, right? That will be better with kdelibs 3.2.2.
Comment 4 Stephan Binner 2004-05-01 10:19:02 UTC
Still awaiting answers and comments about KDE 3.2.2.
Comment 5 Alexey Neyman 2004-08-02 07:47:56 UTC
Using KDE 3.2.2 (Fedora Core 2). Yes, I do use transparency in Konsole. The same problem: lag ~1 second while switching between sessions. The machine is 2.8GHz P4, with 1G of RAM.
Comment 6 Bart Verwilst 2004-12-23 00:19:36 UTC
i'm using kde 3.3.2, and my Konsole doesn't lag here... Athlon XP 2500+ 512M RAM, with kernel 2.6.8.1... Maybe it's fixed?
Comment 7 Kurt Hindenburg 2005-03-29 06:47:53 UTC
We're not going to ditch using KTabBar...