÷

 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/1061/31/2
 k-nucleotide1/51/21/3
 reverse-complement1/4±1/2
 partial-sums±1/51/2
 pidigits1/31/2
 fannkuch1/51/2
 n-body1/5±
 mandelbrot1/61/2
 nsieve-bits1/51/2
 fasta1/41/2
 spectral-norm1/41/2
 nsieve±
 binary-trees11×±
 recursive11×1/5±

± 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.2322,120471  
Java 6 -Xint130.2666,972921  
 k-nucleotide 
Perl32.0742,816359  
Java 6 -Xint174.5968,3121052  
 reverse-complement 
Perl1.9938,360298  
Java 6 -Xint8.6357,188592  
 partial-sums 
Perl17.411,476389  
Java 6 -Xint13.197,120711  
 pidigits 
Perl0.542,404385  
Java 6 -Xint0.217,716938  
 fannkuch 
Perl5.811,492348  
Java 6 -Xint1.687,092555  
 n-body 
Perl1,697.591,9361140  
Java 6 -Xint400.619,5561424  
 mandelbrot 
Perl15.931,532311  
Java 6 -Xint3.689,388665  
 nsieve-bits 
Perl24.212,132253  
Java 6 -Xint4.6310,000423  
 fasta 
Perl773.421,856791  
Java 6 -Xint146.297,1521240  
 spectral-norm 
Perl4,089.082,468334  
Java 6 -Xint660.7310,584514  
 nsieve 
Perl25.45121,904290  
Java 6 -Xint2.9919,388296  
 binary-trees 
Perl239.3647,936541  
Java 6 -Xint21.4624,364603  
 recursive 
Perl36.282,080380  
Java 6 -Xint3.189,752427  
 chameneos-redux 
No program
Java 6 -Xint0.7310,3321429  

 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 i686-linux-thread-multi

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

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

Revised BSD license

  Home   Flawed   Fastest   License   Help