Mittwoch, 24. September 2008

Java Gears

To be able to compare the XRender pipeline's performance with other Libraries like QT or cairo, I ported qgears2 (a port of the original cairo-gears program to QT4) to Java:


Sure, its nothing to rely on, but at least a nice demo and at least gives some indication where we are when it comes to shape rendering.

QGears2:
EXA: 32/85 (No AA / AA)
XAA: 120/100

Java Gears:
EXA: 220/60
XAA: 200/82

So for aliased rendering Java running the XRender pipeline is quite a good deal faster, but we are behind when it comes to antialiased rendering.
I guess a large amount of cycles accounts to xlib/xcb, we hit 17500 context switches per second, I filed a bug about the problem discussed recently: https://bugs.freedesktop.org/show_bug.cgi?id=17735
This was on Xorg-1.4.99.05, so the EXA results are influenced by some performance problems that version has.

I'll have to ask zack, if he agrees source will be available soon.

Kommentare:

Dmitri hat gesagt…

Nice! Would be cool if you could package it as webstart app (should be easy with netbeans).

Dmitri

Ben hat gesagt…

Thanks for great information.
Web design service