[cairo] More MMX for a few operations
Soeren Sandmann
sandmann at daimi.au.dk
Tue Jul 11 09:07:20 PDT 2006
Attached is a patch and a benchmark. The benchmark uses poppler to
render page 14 of a PDF document given on the command line 100 times
to a GdkPixbuf. I have been testing with Jakub Jelinek's prelink paper
at http://people.redhat.com/jakub/prelink.pdf .
The patch implements a few more operations with special cases MMX
code. On my laptop, applying the patch to cairo speeds up the
benchmark from 20.9 seconds to 14.9 seconds, which is an improvement
of 28.6%.
Of course, the benchmark (render page 14 of a specific document) is
not very general, but it clearly represents something a user would
actually do.
Soren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark.c
Type: application/octet-stream
Size: 1364 bytes
Desc: The benchmark
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060711/1ef32c0d/benchmark-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixman-ops.patch
Type: text/x-patch
Size: 8786 bytes
Desc: The patch
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060711/1ef32c0d/pixman-ops-0001.bin
More information about the cairo
mailing list