Re: ANN: "Caskbench" performance benchmark

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.