÷

 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
 pidigits±1/51/2
 regex-dna±1/41/2
 reverse-complement1/41/2
 k-nucleotide1/4
 binary-trees46×±
 fasta47×1/6±
 fannkuch47×1/81/3
 spectral-norm74×1/2±
 n-body76×1/6±
 mandelbrot127×1/161/3

± 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
 pidigits 
Perl7.047.053,284385  0% 0% 0% 100%
Java 6 -server5.475.4714,828938  1% 3% 0% 100%
 regex-dna 
Perl38.8438.84153,472527  0% 0% 0% 100%
Java 6 -server29.3529.37689,108929  0% 0% 0% 100%
 reverse-complement 
Perl5.805.80124,036237  0% 0% 1% 100%
Java 6 -server2.862.90473,280592  0% 1% 0% 99%
 k-nucleotide 
Perl249.61252.46709,264359  0% 0% 0% 100%
Java 6 -server46.9046.95351,0041602  0% 0% 0% 100%
 binary-trees 
Perl1,297.731,297.68643,488541  0% 0% 0% 100%
Java 6 -server28.2128.35255,460603  0% 0% 0% 99%
 fasta 
Perl349.59349.572,112934  0% 1% 0% 100%
Java 6 -server7.507.5112,2481240  0% 0% 0% 100%
 fannkuch 
Perl3,160.503,160.311,692391  0% 0% 0% 100%
Java 6 -server66.7966.8313,7961150  0% 0% 0% 100%
 spectral-norm 
Perl1,184.331,184.267,792846  0% 0% 0% 100%
Java 6 -server15.9115.9312,564950  0% 0% 0% 100%
 n-body 
Perl1,911.921,911.802,1281140  0% 0% 0% 100%
Java 6 -server25.0525.0812,4121424  1% 0% 0% 100%
 mandelbrot 
Perl5,268.135,267.813,032311  0% 0% 0% 100%
Java 6 -server41.5641.5748,900903  0% 0% 0% 100%
 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