[Konsole-devel] [Bug 77964] New: Speed decrease in konsole from 3.1 to 3.2, possibly related to KTabBar.

Ray Russell Reese III russ at zerotech.net
Thu Mar 18 23:29:32 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=77964      
           Summary: Speed decrease in konsole from 3.1 to 3.2, possibly
                    related to KTabBar.
           Product: konsole
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: russ zerotech net


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.



More information about the konsole-devel mailing list