[cairo] Where's the bottleneck in using glitz/cairo/librsvg?
Gustavo J. A. M. Carneiro
gjc at inescporto.pt
Mon Jun 12 08:08:29 PDT 2006
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... :-)
>
> -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
--
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2289 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060612/760dc1b5/smime.bin
More information about the cairo
mailing list