[cairo] ANN: "Caskbench" performance benchmark

Chris Wilson chris at chris-wilson.co.uk
Sat Sep 27 11:51:59 PDT 2014


On Fri, Sep 26, 2014 at 01:01:25PM -0700, Bryce Harrington wrote:
> On Fri, Sep 26, 2014 at 07:33:03AM +0100, Chris Wilson wrote:
> > 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.

I've been playing more with it and as it is, it's not immediately useful
for tuning. This is simply because that everything is randomized (or at
least by default). I would rather improve cairo-perf-micro to add any
examples you have that are not already there, have finer control over
what is run (wrt to patterns and geometry options, e.g. aliasing and
tolerance) and incorporate your innovation of having native tests for
skia, Qt, adg, direct2d, quartz, etc.

> Apart from the stars test, cairo-gl did better all-around than cairo
> image.  And for gradients and image manipulation it's profoundly faster.
> Now, I haven't tested against GLX but this makes me wonder if this would
> translate into significantly better performance for, say, Inkscape?  If
> so, should we maybe be advocating cairo-gl/cairo-egl more heavily here?

Not with msaa-2! And it is still typically slower than cairo-xlib with a
good driver.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list