÷

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


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

 Pike used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 recursive1/61/2±
 spectral-norm1/4±±
 binary-trees1/31/3±
 mandelbrot1/3±
 nsieve1/21/2±
 regex-dna1/21/2±
 sum-file±
 fannkuch±±
 pidigits±±±
 n-body±±
 fasta±±
 k-nucleotide±±
 nsieve-bits11×±
 reverse-complement±±

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

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 recursive 
Pike154.915,312403  
Perl898.7810,836380  
 spectral-norm 
Pike1,041.863,440345  
Perl4,089.082,468334  
 binary-trees 
Pike78.4716,568520  
Perl239.3647,936541  
 mandelbrot 
Pike159.343,348402  
Perl403.201,724311  
 nsieve 
Pike12.0563,316266  
Perl25.45121,904290  
 regex-dna 
Pike6.3212,792472  
Perl11.8121,408431  
 sum-file 
Pike12.143,572199  
Perl18.171,46884  
 fannkuch 
Pike598.583,336492  
Perl855.721,492348  
 pidigits 
Pike2.853,472389  
Perl3.612,532385  
 n-body 
Pike1,396.013,4161260  
Perl1,697.591,9361140  
 fasta 
Pike793.413,364971  
Perl950.041,872934  
 k-nucleotide 
Pike47.3838,660750  
Perl32.0742,816359  
 nsieve-bits 
Pike281.8843,308306  
Perl100.184,004253  
 reverse-complement 
Pike7.7528,864337  
Perl1.9938,360298  
 chameneos-redux
   No program
 partial-sums
   No program

 Measurements for all the accepted programs

 Pike : explicitly-typed dynamic oo programming 

Pike v7.6 release 86

Home Page: http://pike.roxen.com/

Download: http://pike.roxen.com/download/

Revised BSD license