[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Performance issues
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-03-07 19:55:02
[Download RAW message or body]

One big place to tweak the speed would be to make the updateView function more 
inteligent in finding the current width of the visible text, only the changed 
lines need scanning, not all lines as at the moment.

On Thursday 07 March 2002 01:21, Anders Lund wrote:
> Hi all,
> I was involved in a discussion of the performance of katepart on #kde last
> night. Bruggie had problems while typing under high load (6, he said)
>
> Here is an excerpt of the discussion:
>
> <anders> bruggie: one guess: the debug. i think jowenn tends to have
> kdDebug() spitting out 3 lines pr typed character atm
> <bruggie> anders: hehehe, i do have --enable-debug-full enabled so i get
> all the
>
> debugoutput there is...
> <bruggie> anders: what debug area is kate using ?
> <anders> bruggie: .xsession-errors will take over your hd:P
>
> <anders> bruggie: 13xxx
> <bruggie> i'll turn it all off...
> <anders> let me know if it helps, i'll use it as an arg to have him
> uncomment them:)
> <anders> bruggie: ^
>
> <bruggie> anders: when i used a small headerfile it works fine, but with
> this cpp file it sucks.. even less than 1 char per second...
>
> <bruggie> anders with normal highlighting it is also a bit slow but not it
> is almost as fast as my typing, slight lag remaining..
>
> <anders> bruggie: uuh that is really bad. it has been some time since i had
> such
>
> probs. could you try setting hl to "normal" and see it that makes it work?
>
> <bruggie> anders: ok just a sec.. my typed sentence is not yet finsihed...
> <bruggie> anders my load is now 6.. lets see if it happens again without
> debug output..
>
>
> <anders> bruggie: ok, i will post this conversation to kwrite-devel
> <bruggie> anders with normal highlighting it is also a bit slow but not it
> is almost as fast as my typing, slight lag remaining...
>
> <bruggie> anders without highlighting (normal mode that is) about 4 -6
> chars per
> second...
>
> ---
>
> So, this is something to consider for anyone of us left with some time:)
>
> -anders
> _______________________________________________
> kwrite-devel mailing list
> kwrite-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kwrite-devel

-- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org
_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic