[cp-patches] RFC: java2d benchmarking

Francis Kung fkung at redhat.com
Fri Jun 16 18:58:03 UTC 2006


Hi,

I've modified the Aicas AWT benchmarking utility committed a few days
ago to use java2d operations.  Currently it uses the Double versions of
all the java2d shapes except GeneralPath, which doesn't seem to work
(you can run the test specifically by passing "generalpath" into the
program, but it's excluded from the default set of tests).

It is a command-line utility at the moment, and (similar to the Aicas
utility) it is run as $JAVA
gnu.classpath.examples.java2d.J2dBenchmark (--help for list of options
and tests)

I've also moved the old FillRect utility into the new examples.java2d
package and renamed it JNIOverhead, as suggested.

I'd appreciate any comments you might have.

Thanks,
Francis

2006-06-16  Francis Kung  <fkung at redhat.com>

	* examples/gnu/classpath/examples/swing/Demo.java:
	(mkButtonBar): rename FillRect to JNIOverhead
	(mkMenuBar): rename FillRect to JNIOverhead
	* examples/gnu/classpath/examples/swing/FillRect.java: removed
	* examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
	new file
	* examples/gnu/classpath/examples/java2d/JNIOverhead.java:
	moved from old FillRect
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: j2dbenchmark.diff
Type: text/x-patch
Size: 61255 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060616/f8ec41c8/j2dbenchmark-0001.bin


More information about the Classpath-patches mailing list