Posted by pdoubleya
on March 24, 2005 at 5:27 AM PST
I just downloaded the latest snapshot
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b28)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b28, mixed mode, sharing)
and have tried running our Flying Saucer with it (http://xhtmlrenderer.dev.java.net ). I was interested in seeing if the enhancements to Java2D affect our performance.
For our tool, there is a slight regression in performance, 25-30%. The test loads a large XHTML file and renders it to an image without displaying it on-screen. We use Graphics2D directly, not Swing or other AWT classes for rendering (apart from images).
Am wondering if there are some flags that might affect performance? I had heard that the new single-threaded 2D pipeline should improve things.
I realize Mustang is probably compiled as a debug build, and am not expecting the moon--just want to know if there are some tuning options I am missing.