÷

 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.


 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/131/5
 reverse-complement±1/2
 k-nucleotide1/2
 fasta38×1/6±
 fannkuch49×1/21/2
 spectral-norm63×±±
 n-body72×1/6±
 binary-trees79×±
 mandelbrot395×1/161/3

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

 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 
Perl38.6112.84167,208527  78% 66% 76% 81%
Java 6 -server26.6710.91681,824929  57% 68% 63% 55%
 pidigits 
Perl7.467.463,868385  100% 0% 0% 0%
Java 6 -server14.155.7950,5081816  49% 60% 52% 56%
 reverse-complement 
Perl5.255.25431,496298  100% 0% 0% 0%
Java 6 -server2.712.67475,908592  3% 1% 94% 3%
 k-nucleotide 
Perl256.1578.582,883,780648  81% 71% 88% 84%
Java 6 -server49.2214.57480,4081602  79% 78% 98% 82%
 fasta 
Perl314.46314.462,548934  100% 0% 0% 0%
Java 6 -server8.248.2215,1441240  0% 1% 0% 100%
 fannkuch 
Perl3,749.89942.908,808471  99% 100% 100% 100%
Java 6 -server68.4719.0917,5841150  81% 97% 74% 99%
 spectral-norm 
Perl1,137.10285.5510,976846  100% 100% 100% 100%
Java 6 -server17.334.5115,208950  98% 95% 94% 97%
 n-body 
Perl1,665.131,665.142,5681140  0% 0% 100% 0%
Java 6 -server23.1323.1315,1001424  0% 0% 0% 100%
 binary-trees 
Perl1,276.891,276.851,091,276541  0% 0% 100% 0%
Java 6 -server20.5316.18566,032603  13% 86% 16% 11%
 mandelbrot 
Perl4,226.424,226.214,136311  0% 0% 100% 0%
Java 6 -server42.0210.6966,984903  98% 98% 98% 99%
 chameneos-redux
   No program

 Perl : server-side shell & cgi scripts 

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

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

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

Revised BSD license