[OpenJDK 2D-Dev] sun.java2D.Pisces renderer Performance and Memory enhancements

Laurent Bourgès bourges.laurent at gmail.com
Sat May 4 11:59:25 UTC 2013


Dear Clemens & Jim,

As you know I am currently improving pisces performance (a lot) and I would
like to compare its performance with your JulesRenderingEngine (cairo).

FYI, my last pisces patch performs a bit slower than native ductus renderer
with only 1 thread (only 10-20% slower), but it very faster with multiple
threads:

pisces patch (1 hour ago):
test    threads    ops    Tavg    Tmed    stdDev    rms    Med+Stddev
min    max    TotalOps    [ms/op]
dc_boulder_2013-13-30-06-13-17.ser    1    63    88.731    88.484
0.779    88.488    89.264    88.052    104.455    63
dc_boulder_2013-13-30-06-13-17.ser    2    126    103.945    103.760
1.776    103.775    105.536    102.465    128.479    126
dc_boulder_2013-13-30-06-13-17.ser    4    252    173.820    173.655
3.762    173.696    177.417    170.028    218.739    252
dc_shp_alllayers_2013-00-30-07-00-47.ser    1    25    762.982
760.039    3.484    760.047    763.523    755.093    838.546    25
dc_shp_alllayers_2013-00-30-07-00-47.ser    2    50    894.738
892.648    20.819    892.891    913.467    878.795    1011.004    50
dc_shp_alllayers_2013-00-30-07-00-47.ser    4    100    1510.789
1511.463    98.003    1514.637    1609.467    924.624    2030.892    100

Note: this latest patch uses rowAA optimizations = no more RLE encoding /
decoding: rowAA[32][] stores {x0 x1} {alpha sum values for range[x0; x1[ }

ductus:
test    threads    ops    Tavg    Tmed    stdDev    rms    Med+Stddev
min    max    TotalOps    [ms/op]
dc_boulder_2013-13-30-06-13-17.ser    1    142    75.860    75.749
1.111    75.757    76.860    74.853    92.387    142
dc_boulder_2013-13-30-06-13-17.ser    2    284    131.802    131.508
21.045    133.181    152.553    103.277    243.345    284
dc_boulder_2013-13-30-06-13-17.ser    4    568    284.610    284.757
35.984    287.021    320.741    80.782    405.189    568
dc_shp_alllayers_2013-00-30-07-00-47.ser    1    20    912.910
912.634    1.827    912.635    914.460    909.023    921.782    20
dc_shp_alllayers_2013-00-30-07-00-47.ser    2    40    1484.377
1482.126    84.938    1484.558    1567.063    1371.135    1683.175    40
dc_shp_alllayers_2013-00-30-07-00-47.ser    4    80    5075.550
5086.851    133.047    5088.591    5219.898    3945.514    5324.156    80


Could you give me instructions how to make Jules renderer work ?

Apparently JulesRenderingEngine requires xrender pipeline, cairo system
library (linux) and also it loads a native library jules.

How can I get the source code / build this jules library ?
or could you send me a linux x64 binary package ?

Cheers,
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20130504/4122af7c/attachment.html>


More information about the 2d-dev mailing list