[Pixman] [cairo] scaling performance test of cairo library

Siarhei Siamashka siarhei.siamashka at gmail.com
Tue Feb 22 14:43:24 PST 2011


On Thursday 10 February 2011 03:16:47 Siarhei Siamashka wrote:
> On Wednesday 09 February 2011 08:23:51 Siarhei Siamashka wrote:
> > On Wednesday 09 February 2011 05:28:46 cooolheater wrote:
> > > Thank you for your kind explanation.
> > > I used pixman-0.21.4 for testing.
> > > As you guessed, we are using SIMD and are finding method for NEON
> > > acceleration.
> > > Could you let me know the bilinear scaling interfaces in pixman and
> > > where the SIMD optimization will be applied?
> > 
> > You can look here for the start:
> > http://cgit.freedesktop.org/pixman/tree/pixman/pixman-bits-image.c?id=pix
> > ma n-0.21.4#n189
> > 
> > But applying optimizations locally just for this small function is not
> > going to provide the best performance, it's kind of like swinging a
> > large polearm in a narrow passage is not so effective.
> 
> And here is an example of such patch attached. Performance improvement is
> not impressive at all. Who cares if it's now let's say ~15x slower than
> nearest scaling instead of ~30x?
> 
> Obviously we need a better solution.

Hello cooolheater,

Could you please try to run your benchmark again with the patches from the
following link applied to pixman and share the results?

http://lists.freedesktop.org/archives/pixman/2011-February/001053.html

-- 
Best regards,
Siarhei Siamashka


More information about the Pixman mailing list