Kate slowing down...

Sven Brauch mail at svenbrauch.de
Tue Mar 8 18:03:31 GMT 2022


Hi,

sorry, you need to chown it to your user before because it was written 
as root:

sudo chown alex perf.data

Greetings!


On 3/8/22 19:02, Alexander Neundorf wrote:
> 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
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA4AAD0019BE03F15.asc
Type: application/pgp-keys
Size: 3138 bytes
Desc: OpenPGP public key
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20220308/ee8df193/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20220308/ee8df193/attachment.sig>


More information about the KWrite-Devel mailing list