[cairo] [PATCH] speed up fbOver

Hung Nguyen Vu vuhung16plus+shape at gmail.com
Thu Jul 17 10:10:44 PDT 2008


On Thu, Jul 17, 2008 at 5:58 AM, Jeff Muizelaar <jeff at infidigm.net> wrote:

> 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
>
> Hi Jeff,

I've tested your patch with gcc 4.1.2 on Pentium IV 3.0( Cent OS 5.0),
and I didn't get expected speedup.

Why?

pixman:
cd /home/vuhung/usr/src/pixman-0.11.2
./configure --prefix=$HOME
make; make install

gcc `pkg-config --libs --cflags pixman-1` pixman-fbOver-bench.c
export LD_LIBRARY_PATH=~/lib
./a.out

old: mean: 211452.750000 stddev: 3829.184988
new: mean: 209254.100000 stddev: 1209.011815


-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com
<vuhung16plus%7Bremove%7D at gmail.dot.com>, YIM: vuhung16 , Skype:
vuhung16dg
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080718/dd7b14c4/attachment.htm 


More information about the cairo mailing list