÷

 Step 1 : Are the Java 6 -Xint programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used.

Each chart bar shows, for one unidentified benchmark, how much the fastest Java 6 -Xint program used compared to the fastest Perl program.


 Step 2 : Are the Java 6 -Xint programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used.

Each table row shows, for one named benchmark, how much the fastest Java 6 -Xint program used compared to the fastest Perl program.

 Java 6 -Xint used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 binary-trees1/111/2±
 spectral-norm1/10±±
 mandelbrot1/71/6
 fasta1/6±
 fannkuch1/6
 n-body1/3±
 pidigits±
 k-nucleotide1/9
 reverse-complement
 regex-dna10×

± read the measurements and then read the program source code.

 Step 3 : Are the Java 6 -Xint programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.

For each named benchmark, measurements of the fastest Java 6 -Xint program are shown for comparison against measurements of the fastest Perl program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 binary-trees 
Java 6 -Xint132.08119.49289,060603  7% 91% 7% 6%
Perl1,292.441,292.38643,488541  0% 0% 100% 0%
 spectral-norm 
Java 6 -Xint117.3029.5410,840950  99% 99% 99% 99%
Perl1,212.30304.617,792846  100% 100% 99% 100%
 mandelbrot 
Java 6 -Xint857.62214.6647,108903  100% 100% 100% 100%
Perl5,578.831,436.69291,628550  97% 97% 97% 97%
 fasta 
Java 6 -Xint55.8055.8410,1561240  0% 0% 100% 0%
Perl339.78339.762,112934  100% 0% 0% 0%
 fannkuch 
Java 6 -Xint663.52184.9810,3081150  81% 78% 100% 96%
Perl4,206.051,062.526,020471  99% 99% 99% 100%
 n-body 
Java 6 -Xint576.65576.5410,4041424  0% 75% 0% 25%
Perl1,914.131,914.022,1281140  0% 0% 0% 100%
 pidigits 
Java 6 -Xint5.525.5211,604938  0% 0% 0% 100%
Perl7.037.033,284385  0% 0% 0% 100%
 k-nucleotide 
Java 6 -Xint1,062.49297.28299,1961602  85% 86% 86% 100%
Perl281.5788.722,774,904648  78% 73% 88% 83%
 reverse-complement 
Java 6 -Xint22.9122.92471,268592  0% 0% 100% 0%
Perl5.785.79124,036237  0% 0% 0% 100%
 regex-dna 
Java 6 -Xint353.98147.97682,692929  55% 76% 63% 47%
Perl39.0714.23153,584527  55% 66% 58% 96%
 chameneos-redux 
Java 6 -Xint43.5314.2710,5081377  62% 54% 90% 89%
No Perl

 Measurements for all the accepted programs

 Java 6 -Xint : ubiquitous bytecode interpreter virtual machine 

java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, interpreted mode)

Home Page: http://java.sun.com/j2se/

Download: http://java.sun.com/j2se/downloads/

Revised BSD license