Skip to main content

QT polygon benchmark - what about Java2D?

1 reply [Last post]
kenneth_s
Offline
Joined: 2006-10-23

Interesting bechmark - http://zrusin.blogspot.com/2006/10/benchmarks.html.

Anyone interested in making similar benchmark in Java? Sadly on my Linux I can't turn on OpenGL pipeline... and I'm not sure what should I use to construct polygon, since Polygon class doesn't support double (GeneralPath)?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Chris Campbell

Even if you can't run the OGL pipeline on your machine, it would be
great if you could at least generate numbers for Java2D's X11 pipeline
and compare against his QT results. If you get this far, I'd be happy
to run your benchmark on one of our machines with the OGL pipeline enabled.

I think you'd probably need to see the source code for Zack's benchmark
if you wanted to write an apples-to-apples comparison, but it didn't
look like he posted it. Perhaps you can ask him.

In JDK 6, we now have Path2D.Double, so you can use that for creating a
polygon from double-precision coordinates.

Let us know what you find.

Thanks,
Chris

java2d@javadesktop.org wrote:
> Interesting bechmark - http://zrusin.blogspot.com/2006/10/benchmarks.html.
>
> Anyone interested in making similar benchmark in Java? Sadly on my Linux I can't turn on OpenGL pipeline... and I'm not sure what should I use to construct polygon, since Polygon class doesn't support double (GeneralPath)?
> [Message sent by forum member 'kenneth_s' (kenneth_s)]
>
> http://forums.java.net/jive/thread.jspa?messageID=166089
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".