÷

 Step 1 : Are the Perl programs faster? At a glance.

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

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


 Step 2 : Are the Perl programs faster? Approximately.

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

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

 Perl used what fraction? used how many times more? 
Benchmark Time Memory Code
 regex-dna1/481/2 
 k-nucleotide1/7±1/3
 reverse-complement1/4±1/2
 partial-sums±1/3±
 pidigits1/31/2
 fannkuch1/31/2
 nsieve-bits1/31/2
 n-body1/5±
 mandelbrot1/21/2
 fasta1/31/2
 nsieve±
 spectral-norm±1/2
 binary-trees10×±
 recursive11×1/4±

± 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 ~ speed and size.

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 regex-dna 
Perl1.2822,1960  
Java 6 -Xint61.4248,248711  
 k-nucleotide 
Perl27.5442,836359  
Java 6 -Xint181.6162,5441052  
 reverse-complement 
Perl1.9938,356298  
Java 6 -Xint8.9535,024588  
 partial-sums 
Perl14.233,156389  
Java 6 -Xint12.838,128470  
 pidigits 
Perl6.213,144385  
Java 6 -Xint3.248,976938  
 fannkuch 
Perl5.143,144348  
Java 6 -Xint2.548,116543  
 nsieve-bits 
Perl22.273,156253  
Java 6 -Xint9.218,936517  
 n-body 
Perl1,567.731,9041140  
Java 6 -Xint622.668,6761430  
 mandelbrot 
Perl15.333,388311  
Java 6 -Xint4.648,324623  
 fasta 
Perl734.243,156791  
Java 6 -Xint212.248,1521240  
 nsieve 
Perl29.34121,924290  
Java 6 -Xint4.3117,340293  
 spectral-norm 
Perl3,943.6318,536334  
Java 6 -Xint494.0924,784514  
 binary-trees 
Perl224.0637,588481  
Java 6 -Xint23.4820,344603  
 recursive 
Perl31.602,144380  
Java 6 -Xint2.998,296427  
 chameneos-redux
   No programs

 Step 4 : Are there other Perl programs for these benchmarks?

Remember - those are just the fastest Perl and Java 6 -Xint programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Perl.

Maybe one of those other Perl programs is fastest on a different OS/machine.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Perl and Java 6 -Xint programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Perl : server-side shell & cgi scripts 

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

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

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

Revised BSD license

  Home   Flawed   Fastest   License   Help