Re: KDevelop continuous activity?

Milian Wolff <[email protected]> Thu, 09 Apr 2020 16:51:14 +0200
Newsgroups gmane.comp.kde.users.kdevelop
Organization KDAB
Message-ID <21636505.EfDdHjke4D@agathebauer>
On Donnerstag, 9. April 2020 16:41:16 CEST René J.V. Bertin wrote:
> On Thursday April 09 2020 16:11:39 Milian Wolff wrote:
> >When you just profile an "idle" process over a long time with a sampling
> >profiler, you will see the culprit.
> 
> Actually, turns out I'm also seeing this on Mac, and there I can attach the
> "sampler" instrument from Xcode to a running process, e.g. after it has
> gone (apparently) idle. Maybe something similar exists for Linux?

perf record --call-graph dwarf -p $(pidof KDevelop)
hotspot perf.data

> I had been thinking that maybe this was related to my patch that allows to
> stop queued background parser processes (via a stub KJob that shouldn't be
> doing anything itself and gets registered in the ProcessController ). But
> that patch had not been applied to my latest builds, so something else must
> be going on.

Drawing the cursor in the text editor?

-- 
Milian Wolff | [email protected] | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
smime.p7s (application/pkcs7-signature, 3.7 KB) - not displayed