[cairo] [PATCH] speed up fbOver
Jeff Muizelaar
jeff at infidigm.net
Wed Jul 16 13:58:34 PDT 2008
On Wed, Jul 16, 2008 at 10:11:24PM +0200, Soeren Sandmann wrote:
> Jeff Muizelaar <jeff at infidigm.net> writes:
>
> > The attached patch nearly doubles the speed of fbCompositeSrc_8888x8888
> > on my core duo 2 with gcc 4.0.1.
>
> The patch looks correct to me, but I'd like to know how you measured
> the speedup, and what the gain was from inlining.
I used the attached program with the following results:
==> new <==
mean: 119198.400000 stddev: 686.753415
==> new-noinline <==
mean: 167497.650000 stddev: 1189.305780
==> old <==
mean: 245697.300000 stddev: 1011.173529
-Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bench.c
Type: text/x-csrc
Size: 2153 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080716/fe3a809e/attachment.c
More information about the cairo
mailing list