[Pixman] [PATCH/RFC] Use OpenMP for bilinear scaled fast paths

Siarhei Siamashka siarhei.siamashka at gmail.com
Sun Jun 24 16:36:04 PDT 2012


On Mon, Jun 25, 2012 at 2:00 AM, Siarhei Siamashka
<siarhei.siamashka at gmail.com> wrote:
> Some benchmarks with cairo-perf-trace (gcc 4.7.1, CFLAGS="-O2 -fopenmp"):
>
> === Core i7 860 @2.8GHz ===
>
> before patch:
> [  0]    image             firefox-fishtank   66.912   66.931   0.13%    3/3
>
> export OMP_NUM_THREADS=1
> [  0]    image             firefox-fishtank   67.285   67.393   0.12%    3/3
>
> export OMP_NUM_THREADS=2
> [  0]    image             firefox-fishtank   40.156 40.192   0.07%    3/3
>
> export OMP_NUM_THREADS=3
> [  0]    image             firefox-fishtank   31.152   31.241   0.21%    3/3
>
> export OMP_NUM_THREADS=4
> [  0]    image             firefox-fishtank   26.507   26.540   0.15%    3/3
>
> === Radeon HD 6770 (xf86-video-ati-6.14.4, Mesa 8.1-devel (git-6e7756d)) ====
>
> [  0]     xlib             firefox-fishtank   34.135   34.156   0.23%    3/3
> [  0]       gl             firefox-fishtank    5.671    5.755   0.89%    3/3

Almost forgot, the benchmarks would have been incomplete without also
trying LLVMpipe:

$ export LIBGL_ALWAYS_SOFTWARE=1
$ export CAIRO_TEST_TARGET=gl
$ cairo/perf/cairo-perf-trace -i3 cairo-traces/benchmark/firefox-fishtank.trace

[ # ]  backend                         test   min(s) median(s) stddev. count
[ # ]       gl: VMware, Inc. Gallium 0.4 on llvmpipe (LLVM 0x301) 2.1
Mesa 8.1-devel (git-6e7756d)
[  0]       gl             firefox-fishtank  112.933  113.604   0.32%    3/3

-- 
Best regards,
Siarhei Siamashka


More information about the Pixman mailing list