[cairo] Cairo 1.3 performance loss

Jorn Baayen jorn at openedhand.com
Thu Feb 1 02:34:03 PST 2007


On Thu, 2007-02-01 at 11:24 +0100, David Turner wrote:
> > > Can you recommend what should be changed in cairo-perf to make it more
> > > useful on your platform? Are you just saying that your timer
> > > granularity is coarse enough that each individual test should be
> > > adjusted to take more time?
> > 
> > Yeap. One idea would be to add a mode that times X iterations instead of
> > single ones, pretty much like my little tool above does.
> > 
> This already exists, either use the "-i NNN" command line flag, or
> define the CAIRO_PERF_ITERATIONS environment variable with the number
> of iterations you want.

This still times individual iterations (but runs X of them and takes the
median). The problem is that on this machine gettimeofday()'s
granularity is too coarse to register any difference in time for many of
the tests.

Thanks,

Jorn

> 
> Hope this helps,
> 
> - David
-- 
OpenedHand Ltd.
http://o-hand.com/



More information about the cairo mailing list