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

List:       kde-kant
Subject:    Bug#40983: kate eats up the CPU while writing and is awful slow
From:       Andreas Hartmann <andihartmann () freenet ! de>
Date:       2002-04-20 7:53:00
[Download RAW message or body]

Hi Anders,

Meanwhile, I tested the perl-file you sent me with the last mail. I 
tested it on two machines, on a laptop and on a desktop. To figure out, 
if there are problems related to the different hardware, I did the 
following tests (all with the file you sent to me and the original from 
KDE CVS 3.0 Branch) and with the helpers.pm, which I sent to you:

1.
KDE 3.0 running on the laptop

2.
KDE 3.0 running on the desktop

3.
KDE 3.0 running on the desktop and tunneld to the laptop via ssh. So the 
laptop has to do the presentation and the desktop has only to run the 
applications.


In all three tests, I couldn't see any difference. Interesting for you 
could be the information, that the load is always generated on the 
machine which actually runs kate.
Typing in my helerps.pm a line with 126 characters generated 29 
cpu-seconds onto the process of kate :-(.

I'm using X 4.2.0, gcc 2.95.3, qt-copy from kde-cvs and a threaded qt. 
glibc has version 2.2.5 and kernel is 2.4.1[87]. I compiled KDE with 
enable-profile.

If you want me to do some more tests, feel free to ask! I will try to do 
them!


Regards,
Andreas Hartmann



Anders Lund wrote:
> Hi Andreas,
> 
> Thank you for helping.
> 
> The bash script definately has issues editing. I'll have to have a look at the 
> bash hl file.
> 
> I do not have similar issues with perl. As I don't know if there has been 
> changes in the perl hl since release (can't rember:-\) I enclose the perl hl 
> file I use. Could you let me know if that one works better? You should place 
> it in $KDEHOME/share/apps/kate/syntax.
> 
> -anders
> 
> On Monday 15 April 2002 19:29, Andreas Hartmann wrote:
> 
>>Hello Anders,
> 
> [...]
> 
>>>Could you mail me a file that has this problem so that I can try
>>>investigate?
>>
>>Not the same file, but another file, which shows the same problem here.
>>It's a bash - script (from mozilla). After I switched on the appropriate
>>syntaxhiglighting and began to write at the last third of the script, I
>>got a load of about 0.3 (Athlon 800 with ATI Rage 128 PF) and deleting
>>characters with backspace is slow. If I would do the same with my laptop
>>(Thinkpad T21), I would get a load of 1 and deleting / writing would be
>>awful slow. It's unusable.
>>The old kate doesn't show the problem. It's nearly as fast as mcedit for
>>example.
>>
>>
>>Regards,
>>Andreas Hartmann

_______________________________________________
kde-kant mailing list
kde-kant@
http://mail.kde.org/mailman/listinfo/kde-kant
[prev in list] [next in list] [prev in thread] [next in thread] 

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