[cairo] Better coverage from cairo performance suite (and some results)

Carl Worth cworth at cworth.org
Thu Dec 14 09:37:16 PST 2006


On Tue, 10 Oct 2006 03:21:40 +0200, "David Turner" wrote:
> For the record, the performance patchset I already sent you speeds up gradient
> rendering by nearly a factor of 2. If you're still interested, I've uploaded
> an updated version which corresponds to the current git repository at the
> following address:
>
>   http://david.freetype.org/cairo/cairo-performance-1.patchset
...
> Hope you'll find this useful, and that you'll find the time to integrate this to
> the Cairo git repository.

Yes, very useful, David!

I _finally_ got this all integrated into cairo, and yes I see a nice
2x performance improvement for linear gradients:

	http://gitweb.freedesktop.org/?p=cairo;a=commit;h=e9bef30d2bcdf41c7b7f20b3517839c37e752f75

One of the things I had been waiting for was an improved mechanism for
detecting similar but not identical images in the test suite. I've now
integrated the "perceptual diff" algorithm into cairo and it does help
a bit, (though not as much as I was hoping). If someone wants to
fiddle around with it more, that would be great, (just try removing
some of the backend-specific reference images and then see if you can
get the resulting failures to go away by tweaking pdiff.c).

Oh, and I've only committed the gradient improvements from your patch
set. For the other stuff, I'd first like to see performance test case
that demonstrate the benefit of the patches.

Thanks again,

-Carl
-------------- 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/20061214/3e5436b0/attachment.pgp


More information about the cairo mailing list