Kate slowing down...

Alexander Neundorf neundorf at kde.org
Tue Mar 8 18:02:45 GMT 2022


On Dienstag, 8. März 2022 18:26:28 CET Sven Brauch wrote:
> Hi,
> 
> On 3/8/22 17:54, Alexander Neundorf wrote:
> 
> > when I have a lot of files open, kate starts to slow down, i.e. typing
> > gets
 noticably slower.
> > I did not yet investigate where it comes from.
> > Maybe somebody knows and could give me a hint where to start looking ?
> > Maybe something with autocompletion ?
> 
> 
> sudo perf record --call-graph dwarf -p $(pidof kate)
> 
> type a bit in kate, Ctrl+C
> 
> and then open perf.data with Milian's cool Hotspot tool, click "Flame 
> Graph" and you'll have your answer in a second. ;)

Almost.
hotspot tells me "file perf.data is not readable". Any idea what could be 
wrong ?


~> sudo perf record --call-graph dwarf -p 28259
^C[ perf record: Woken up 1029 times to write data ]
Warning:
Processed 35732 events and lost 5 chunks!

Check IO/CPU overload!

[ perf record: Captured and wrote 259,537 MB perf.data (32224 samples) ]

~> hotspot perf.data
"File 'perf.data' is not readable."


Thanks
Alex





More information about the KWrite-Devel mailing list