[OpenJDK 2D-Dev] drawPolyline performance

Viet Khoi Le vietkhoi at hotmail.com
Wed Oct 29 05:47:39 UTC 2008

Hello everyone,
I have a performance issue with drawPolyline whenever I try to use it on an array of 600K+ points.  Typically with the default stroke I have very good performance, 16ms for 600K+ points.  However when I tried to draw a thicker line, by setting graphics2d with a new BasicStroke, the plot couldn't even renderer, it stuck consuming memory and I eventually have to kill the task.  Does anyone have any experience with this? 
I tried to play around with the D3D settings and no matter the combination, it still perform poorly when trying to draw thick line, even dash line with nominal plot width doesn't work.
Any help is greatly appreciated.
When your life is on the go—take your life with you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20081029/f4086f91/attachment.html>

More information about the 2d-dev mailing list