[cairo] SVG Spacewar

Nigel Tao nigel.tao at myrealbox.com
Thu Mar 31 23:43:48 PST 2005


On Thu, 2005-03-31 at 09:57 -0500, Carl Worth wrote:
> There are two good system profilers for Linux that I'm familiar with,
> oprofile and sysprof.
>
> I just did this using svgspacewar on Xati with a Radeon Mobility M6
> and I see:
> 
> 	[Xati]			95.35
> 
> And poking into Xati, the biggest single function is:
> 
> 	fbRasterizeEdges8	71.79
> 
> So rasterization is the bottleneck for me here, (which really isn't
> surprising news).


FWIW, my results (on nVidia binary drivers) for profiling hotspots are:

using the gl back-end, sorted by Self:
"In file /usr/lib/nvidia/libGLCore.so.1.0.7167" Self=42.08%
"fbRasterizeEdges" Self=8.03%
"_dl_sysinfo_int80" Self=6.83%
The largest Total is "[./svgspacwar]" at 97.6%.

using the xlib back-end, sorted by Self:
"??? [/usr/X11R6/bin/X] Self=76.48%
"_dl_sysinfo_int80" Self=3.30%
"_cario_pattern_acquire_surface" Self=1.35%
The largest Total is "[/usr/X11R6/bin/X]" (without the "???") at 84.31%.


cheers,
Nigel.




More information about the cairo mailing list