[cairo] Pixman scaling performance

Siarhei Siamashka siarhei.siamashka at gmail.com
Tue Nov 17 07:07:06 PST 2009


Hi,

It's mostly a question about the status of
http://cgit.freedesktop.org/~sandmann/pixman/log/?h=unroll
branch, which should improve performance of nearest scaling.

If tested with render_bench program on ARM Cortex-A8, we get the
following results (it's mostly showing the performance of OVER
compositing operation with nearest or bilinear scaling).

As expected, bilinear scaling improved a lot in git (almost reaching
imlib2), but nearest scaling is still a bit too slow.

Both SRC and OVER operations are quite important for browsers.

================== pixman 0.16.2 ============================

*** ROUND 6 ***
---------------------------------------------------------------
Test: Test Xrender doing general nearest scaled Over blends
Time: 89.993 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general nearest scaled Over blends
Time: 77.976 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general nearest scaled Over blends
Time: 12.630 sec.
*** ROUND 7 ***
---------------------------------------------------------------
Test: Test Xrender doing general smooth scaled Over blends
Time: 188.762 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general smooth scaled Over blends
Time: 177.178 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general smooth scaled Over blends
Time: 72.878 sec.

======== pixman git (98bb0a509f401563b8e6e15f4ee26947e9c3d419) ==========

*** ROUND 6 ***
---------------------------------------------------------------
Test: Test Xrender doing general nearest scaled Over blends
Time: 91.676 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general nearest scaled Over blends
Time: 79.740 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general nearest scaled Over blends
Time: 12.954 sec.
*** ROUND 7 ***
---------------------------------------------------------------
Test: Test Xrender doing general smooth scaled Over blends
Time: 92.275 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general smooth scaled Over blends
Time: 79.448 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general smooth scaled Over blends
Time: 73.378 sec.

-- 
Best regards,
Siarhei Siamashka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.cairographics.org/archives/cairo/attachments/20091117/9612e15c/attachment.pgp 


More information about the cairo mailing list