÷

 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/81/2±
 binary-trees1/31/2±
 nsieve1/31/3±
 sum-file1/2±
 fannkuch±±±
 fasta±±±
 k-nucleotide±±
 pidigits±±
 nsieve-bits11×±
 reverse-complement±±
 regex-dna590×± 100,000

± 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 
Pike113.305,224403  
Perl956.3110,812380  
 binary-trees 
Pike73.4817,728520  
Perl224.0637,588481  
 nsieve 
Pike21.1583,472266  
Perl60.70242,316290  
 sum-file 
Pike8.8515,728199  
Perl15.5514,91684  
 fannkuch 
Pike537.763,312492  
Perl728.503,144348  
 fasta 
Pike825.013,540971  
Perl850.673,156934  
 k-nucleotide 
Pike40.0329,248750  
Perl27.5442,836359  
 pidigits 
Pike10.393,792389  
Perl6.213,144385  
 nsieve-bits 
Pike271.3443,452306  
Perl93.554,024253  
 reverse-complement 
Pike6.3029,012337  
Perl1.9938,356298  
 regex-dna N = 100,000 reduced workload 
Pike1,633.956,252892  
Perl2.776,508449  
 mandelbrot
PikeFailed
 n-body
PikeFailed
 spectral-norm
PikeFailed
 chameneos-redux
   No program
 partial-sums
   No program

 Measurements for all the accepted programs

 Pike : explicitly-typed dynamic oo programming 

Pike v7.6 release 93

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

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

Revised BSD license