÷

 Step 1 : Are the Perl 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 Perl program used compared to the fastest Java 6 -server program.


 Step 2 : Are the Perl 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 Perl program used compared to the fastest Java 6 -server program.

 Perl used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 regex-dna±1/41/2
 pidigits±1/91/5
 reverse-complement1/41/2
 k-nucleotide1/2
 fasta45×1/6±
 fannkuch58×1/21/2
 binary-trees67×±
 spectral-norm74×1/2±
 n-body76×1/6±
 mandelbrot131×1/2

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

 Step 3 : Are the Perl 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 Perl program are shown for comparison against measurements of the fastest Java 6 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 regex-dna 
Perl39.0714.23153,584527  55% 66% 58% 96%
Java 6 -server30.6412.27665,900929  51% 54% 71% 74%
 pidigits 
Perl7.037.033,284385  0% 0% 0% 100%
Java 6 -server12.955.0028,6241816  61% 59% 57% 55%
 reverse-complement 
Perl5.785.79124,036237  0% 0% 0% 100%
Java 6 -server2.982.94473,712592  1% 94% 4% 2%
 k-nucleotide 
Perl281.5788.722,774,904648  78% 73% 88% 83%
Java 6 -server47.5314.24762,5481602  80% 80% 95% 79%
 fasta 
Perl339.78339.762,112934  100% 0% 0% 0%
Java 6 -server7.507.4912,6481240  0% 1% 99% 0%
 fannkuch 
Perl4,206.051,062.526,020471  99% 99% 99% 100%
Java 6 -server66.2618.4313,7761150  78% 77% 98% 99%
 binary-trees 
Perl1,292.441,292.38643,488541  0% 0% 100% 0%
Java 6 -server29.6319.18289,920603  24% 75% 27% 28%
 spectral-norm 
Perl1,212.30304.617,792846  100% 100% 99% 100%
Java 6 -server15.954.1112,552950  97% 97% 98% 97%
 n-body 
Perl1,914.131,914.022,1281140  0% 0% 0% 100%
Java 6 -server25.0325.0312,4081424  100% 0% 0% 0%
 mandelbrot 
Perl5,578.831,436.69291,628550  97% 97% 97% 97%
Java 6 -server43.1210.9548,920903  98% 98% 99% 98%
 chameneos-redux
   No program

 Measurements for all the accepted programs

 Perl : server-side shell & cgi scripts 

This is perl, v5.10.0 built for i486-linux-gnu-thread-multi

Home Page: http://www.perl.org/

Download: http://www.cpan.org/src/5.0/

Revised BSD license