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

List:       kwrite-devel
Subject:    Re: Kate slowing down...
From:       "Christoph Cullmann (cullmann.io)" <christoph () cullmann ! io>
Date:       2022-03-09 18:19:51
Message-ID: cc0973c06e54e308bf8fe6a528404b8f () cullmann ! io
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

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