[gcompris-devel] GCompris 8.5PRE for N900 - speed issues ahead

Terje Bergström terje at terje.fi
Fri Jan 1 08:00:37 UTC 2010


On 31.12.2009, at 20.34, Bruno Coudoin wrote:
> I just commited an improvement of the performance of our svg item.

Thanks. I applied it to 8.5PRE3. I think I got it right.

> In this version we no more do pixmap search to find the bounds of an svg
> item. We now use the librsvg rsvg_handle_get_position_sub () that
> appeared in the library version 2.22.
> GCompris seems more responsive now, especially the startup time.
> Let me know if you see an improvement on the N910.

This made startup and other operations by a couple of seconds, but startup is still about 15-20 seconds, and delay between pressing quit and getting confirmation dialog dropped from 5 to 3 seconds. Still very slow.

I profiled the process of clicking on quit button until dialog is open with oprofile. The output from opreport -l /opt/gcompris/bin/gcompris is attached. librsvg is not very prominent. This counts only the cycles inside each library, so it does not take into account situations where f.ex. librsvg would cause a lot of calls to libpixman. I'm trying to learn the tools so that I can load the call graph to a tool.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report.txt
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20100101/afdd3d53/attachment.txt>
-------------- next part --------------

Terje


More information about the Gcompris-devel mailing list