[Kstars-devel] KStars idling CPU usage

Jasem Mutlaq mutlaqja at ikarustech.com
Tue May 3 09:40:17 UTC 2016


I'm getting 9%-11% while paused. I disabled _everything_ including info
boxes and it's still 9%. Needs to investigate further.

Regards,
Jasem


On Tue, May 3, 2016 at 11:39 AM, Akarsh Simha <akarshsimha at gmail.com> wrote:

> KStars consumes 10% of my CPU when idling (clock stopped, nothing
> happening)
>
> The reason is, despite the stoppage of the clock and the complete lack
> of events (no mouse clicks; no mouse moves even!) the paintEvent()
> seems to be called and repainting at least overlays and infoboxes
> continuously.
>
> I'm attaching the output of callgrind. SkyMapQDraw::paintEvent(), and
> the resulting InfoBoxWidget::paintEvent() and FOV::draw() seem to be
> some of the main contributors.
>
> Does anyone have any advice on how we might be able to optimize this
> performance?
>
> Note: callgrind machinery was on only during idling.
>
> Regards
> Akarsh
>
> _______________________________________________
> Kstars-devel mailing list
> Kstars-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kstars-devel
>
>


-- 
Best Regards,
Jasem Mutlaq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20160503/e1c738c5/attachment.html>


More information about the Kstars-devel mailing list