Patches concerning the speed of mouse-movement over the profile.

Tomaz Canabrava tcanabrava at kde.org
Wed Jan 14 11:30:02 PST 2015


Lubomir,

Now we reuse the Tooltip / Pixmap items without deleting it.
Also a lot of uneeded calls were moved / removed.

It stills uses a high cpu, but in my tests it goes from 25% to ~16%



On Wed, Jan 14, 2015 at 2:52 PM, Tomaz Canabrava <tcanabrava at kde.org> wrote:

>
> in terms of leaks, the profile mouse over is leaking about 1mb every
>> 15 seconds, but that could be Qt related (if we can isolate it in a
>> simple test app that is).
>>
>
> I'v answered lubomir with a 7mbs+ callgrind file data so he can help me
> triage this, in the meantime, another patch to reduce the amount of calls
> uneeded in the mouseMoveEvent calls. :)
> I'm thinkering of a way to reduce the amount of new's and deletes in the
> toolTipItem now.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150114/f7278268/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Reuse-the-Entry-tooltip-Item-and-do-less-fnc-calls-f.patch
Type: text/x-patch
Size: 6549 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150114/f7278268/attachment-0001.bin>


More information about the subsurface mailing list