[cairo] Cairo 1.3 performance loss

Carl Worth cworth at cworth.org
Wed Jan 31 08:18:02 PST 2007

On Wed, 31 Jan 2007 18:00:49 +0200, Jorn Baayen wrote:
> Today I wrote a little tool, similar to cairo-perf but timing repeated
> draws instead of single ones. This, contrary to cairo-perf (which
> depends on a timer granularity that is not available on the machine I
> test on), is producing useful output on this ARM here.

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?

> In short, this shows a more or less steady performance improvement from
> 1.2.4 all the way up to 1.3.12. Let's hope these figures are more
> trustworthy.

That would be encouraging. But I would be concerned if we just started
trusting only the numbers that tell us what we want to hear. ;-)

> Still, it would be interesting to see what adding a rectangle primitive
> does, as the tessellate function in 1.3.12 does get called more than the
> one in 1.2.4. Also the data seems to suggest that filling rectangles is
> slightly faster using 1.2.4 than using 1.3.x.

Yeah, we can add a test that fills a lot of small pixel-aligned
rectangles, (one at a time?), and see what cairo-perf-diff says about
that from 1.2.4 through recent 1.3.x snapshots.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070131/772bf140/attachment.pgp

More information about the cairo mailing list