Kate slowing down...

Christoph Cullmann (cullmann.io) christoph at cullmann.io
Wed Mar 9 18:19:51 GMT 2022


On 2022-03-08 21:37, Christoph Cullmann (cullmann.io) wrote:
> On 2022-03-08 21:03, Christoph Cullmann (cullmann.io) wrote:
>> On 2022-03-08 20:55, Alexander Neundorf wrote:
>>> Hi,
>>> 
>>> On Dienstag, 8. März 2022 19:03:31 CET Sven Brauch wrote:
>>>> Hi,
>>>> 
>>>> sorry, you need to chown it to your user before because it was 
>>>> written
>>>> as root:
>>>> 
>>>> sudo chown alex perf.data
>>> 
>>> ah, I should have seen this, sorry.
>>> 
>>> From a quick look the results seem to point to 
>>> qt_qFindChildren_helper(),
>>> which seems to be called from KAcceleratorManager::manage().
>>> At least this seems to be related to key strokes, and the more open 
>>> documents,
>>> the more Qt children there are I guess, so it could make sense.
>>> I'll look a bit more into this.
>> 
>> Hmpf, bad :(
>> 
>> Could you try if you use KAcceleratorManager::setNoAccel on e.g. the
>> KTextEditor::View this will vanish?
> 
> I did profile myself, I think the culprit is the accel checker:
> 
> https://invent.kde.org/frameworks/kxmlgui/-/issues/3
> 
> Alex, could you confirm that with your profiles?

I think I have a trivial fix, at least for the profile of Alex:

https://invent.kde.org/frameworks/kwidgetsaddons/-/merge_requests/122

Testers welcome, I could yet not reproduce such a profile
with that large usage.

Greetings
Christoph

-- 
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org


More information about the KWrite-Devel mailing list