< prev index next >

src/demo/share/java2d/J2DBench/README

Print this page

  6 analyze the  performance of many Java2D graphical  operations. You can
  7 easily modify  the test  options, and save  them for later  runs using
  8 GUI, or  load them in batch  mode to allow quick  testing on different
  9 builds.   It  also  provides  logging  of  the  result,  to  make  the
 10 comparison of the collected data easier.
 11 
 12 J2DAnalyzer  is  J2DBench  a  results  analyzer/comparator  which  can
 13 compare the results generated by the J2DBench runs.
 14 
 15 XMLHTMLReporter is an additional tool  which can create an html report
 16 from the results files generated by the J2DBench runs.
 17 
 18 -----------------------------------------------------------------------
 19 Minimum requirements
 20 -----------------------------------------------------------------------
 21 
 22 The benchmark requires at least jdk1.4 to compile and run. Note that
 23 source/target is set to 1.7 in the makefile and build.xml, because of
 24 support in jdk 14 compiler. To check compatibility with jdk1.4 you can
 25 use "-source 1.4 -target 1.4" options and jdk1.7.



 26 
 27 -----------------------------------------------------------------------
 28 How To Compile
 29 -----------------------------------------------------------------------
 30 
 31 #> cd J2DBench
 32 
 33 The benchmark can be compiled by using either ant:
 34 
 35 #> ant
 36 
 37 or gnumake (assuming there's 'javac' in the path):
 38 
 39 #> gnumake
 40 
 41 The jar files will be generated into J2DBench/dist directory.
 42 
 43 Note that the workspace also contains Netbeans 4.0 project file:
 44   J2DBench/nbproject/project.xml
 45 allowing it to be easily imported into Netbeans.

  6 analyze the  performance of many Java2D graphical  operations. You can
  7 easily modify  the test  options, and save  them for later  runs using
  8 GUI, or  load them in batch  mode to allow quick  testing on different
  9 builds.   It  also  provides  logging  of  the  result,  to  make  the
 10 comparison of the collected data easier.
 11 
 12 J2DAnalyzer  is  J2DBench  a  results  analyzer/comparator  which  can
 13 compare the results generated by the J2DBench runs.
 14 
 15 XMLHTMLReporter is an additional tool  which can create an html report
 16 from the results files generated by the J2DBench runs.
 17 
 18 -----------------------------------------------------------------------
 19 Minimum requirements
 20 -----------------------------------------------------------------------
 21 
 22 The benchmark requires at least jdk1.4 to compile and run. Note that
 23 source/target is set to 1.7 in the makefile and build.xml, because of
 24 support in jdk 14 compiler. To check compatibility with jdk1.4 you can
 25 use "-source 1.4 -target 1.4" options and jdk1.7.
 26 Yo can use TARGET/SOURCE of makefile and -Dtarget/surce to set them up for your convinience.
 27 Similarly you can set JAVA/JAVAC/JAR and -Djava/javac to select diffferent java/javac then is on yoru PATH
 28 Unluckily in ant, you can not set jar, but ant should honor JAVA_HOME
 29 
 30 -----------------------------------------------------------------------
 31 How To Compile
 32 -----------------------------------------------------------------------
 33 
 34 #> cd J2DBench
 35 
 36 The benchmark can be compiled by using either ant:
 37 
 38 #> ant
 39 
 40 or gnumake (assuming there's 'javac' in the path):
 41 
 42 #> gnumake
 43 
 44 The jar files will be generated into J2DBench/dist directory.
 45 
 46 Note that the workspace also contains Netbeans 4.0 project file:
 47   J2DBench/nbproject/project.xml
 48 allowing it to be easily imported into Netbeans.
< prev index next >