[cairo] ANN: "Caskbench" performance benchmark
Chris Wilson
chris at chris-wilson.co.uk
Thu Sep 25 23:33:03 PDT 2014
On Thu, Sep 25, 2014 at 05:54:40PM -0700, Bryce Harrington wrote:
> At Samsung one of the projects I've been working on is a benchmark test
> for comparing the performance of Cairo and Skia with EGL + MSAA, called
> Caskbench. I presented about this testing at LinuxConf US in Chicago
> last month.
>
> This is no where near as comprehensive or meticulous as Cairo's
> performance test suite, but it runs quickly, and includes Skia ports of
> each of the tests. The idea here being to do fair apples-to-apples
> comparisons of the two codebases, or for comparing performance of
> Cairo's image backend with the egl backend.
In the stock configuration you don't have a fair comparison as they have
different rendering intent and substantially different levels of
quality. At the same resolution, cairo's scanline converter is
marginally faster, but skia benefits from a better spline walker and
inline rasterisation. Not to mention that skia has a hairline stroker
and imprecise gradient caches but has a hard time rasterising rectilinear
polygons (or at least did a couple of years ago).
> The codebase has been open sourced and is available on github:
>
> https://github.com/Samsung/caskbench
How do you control the PRNG? And as you are using rand() that often, you
probably want to consider an alternate LCG rng.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo
mailing list