[cairo] Cairo and layered application

Daniel Amelang daniel.amelang at gmail.com
Sat Mar 3 10:30:40 PST 2007


On 3/3/07, Behdad Esfahbod <behdad at behdad.org> wrote:
> On Sat, 2007-03-03 at 02:06 -0500, Boris Zbarsky wrote:
> > Daniel Amelang wrote:
> > > Besides that, it is interesting to note that cairo spends about 10% of
> > > the overall time in malloc and free combined.
> >
> > I've noticed the same thing with Gecko profiles, often with the number being as
> > high as 15-25%.
> >
> > Are you generally interested in data of this sort?  If there's something I can
> > do to help improve cairo performance, I'd love to help.
>
> Definitely.  Pass 'em on.  Specifically, I'm really interested in a call
> graph to malloc.  There's a lot we can do to drop those.

Your wish is my command, Behdad. See the attached graph and tell me
if this is the type of thing you're looking for. I cropped away the
Python-related calls, which means that the numbers won't add up as
you'd expect, but you should get the idea.

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: goo_malloc_call_graph-cropped.png
Type: image/png
Size: 59679 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070303/1c3679f1/goo_malloc_call_graph-cropped-0001.png


More information about the cairo mailing list