[cairo] Where's the bottleneck in using glitz/cairo/librsvg?
David Reveman
davidr at novell.com
Tue Jun 13 03:46:33 PDT 2006
On Mon, 2006-06-12 at 16:08 +0100, Gustavo J. A. M. Carneiro wrote:
> On Seg, 2006-06-12 at 12:54 +0200, David Reveman wrote:
> > I've played with the example-code a bit. Added a useful --benchmark
> > switch, a --surface-buffering switch and a --glitz switch. I also
> > changed so that buffered surfaces are larger and we scale down instead
> > of up. Removed the text so we're only measuring icon rendering.
> >
> > My current results:
> >
> > without my patch for server-side gradients:
> >
> > /cairo-dock --benchmark
> > ~5fps
> >
> > with my patch for server-side gradients:
> >
> > /cairo-dock --benchmark
> > ~10fps
> >
> >
> > with surface buffering (using today's xgl-0-0-1 branch with slightly
> > optimized software scaling code):
> >
> > /cairo-dock --benchmark --surface-buffering
> > ~300fps
> >
> >
> > glitz backend:
> >
> > /cairo-dock --benchmark --surface-buffering --glitz
> > ~2000fps
>
> Interesting...
>
> I'd be interesting also to see results with --glitz alone, no
> --surface-buffering. For the sake of curiosity... :-)
/cairo-dock --benchmark --glitz
~8fps
>
> >
> > -David
> >
> > On Wed, 2006-06-07 at 03:13 +0200, Mirco Müller wrote:
> > > Greetings everybody!
> > >
> > > Trying to achieve crisp animated graphics I encountered an unexpected
> > > CPU-hogging. Have a look at this blog-entry...
> > >
> > > http://macslow.thepimp.net/?p=58
> > >
> > > You'll find example-code, a sysprof-log and screencasts of the issue at
> > > hand. While it looks like librsvg to be the "bottleneck", I would like
> > > to hear opinions of others on this, who are more experienced with
> > > profiling-work and have a deeper knowledge of glitz, cairo and librsvg.
> > >
> > > Thanks in advance for your help!
> > >
> > > Best regards...
> > >
> > > Mirco "MacSlow" Müller
> > >
> >
> > _______________________________________________
> > cairo mailing list
> > cairo at cairographics.org
> > http://cairographics.org/cgi-bin/mailman/listinfo/cairo
-David
More information about the cairo
mailing list