vs

 1 : Are the Shedskin programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Shedskin program used compared to the fastest Cython program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Shedskin programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Shedskin program used compared to the fastest Cython program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Shedskin used what fraction? used how many times more? 
Benchmark Time Memory Code
 k-nucleotide †1/2?±
 Shedskin used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/21/21/21/21/21/21/2

† possible mismatch - one-core program compared to multi-core program.

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

 3 : Are the Shedskin programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Shedskin program are shown for comparison against measurements of the fastest Cython program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 k-nucleotide 
Shedskin0.080.07?593  17% 0% 0% 100% †
Cython0.130.13?594  14% 100% 0% 15% †
 regex-dna 
No program
Cython0.060.06?524  0% 100% 0% 0%
 meteor-contest 
No program
Cython4.504.5011,3201334  2% 0% 0% 100%
 fannkuch-redux 
No program
Cython21.845.6856,0801271  98% 96% 97% 97%
 chameneos-redux 
No program
Cython160.1988.278,8361203  40% 39% 39% 39%
 fasta 
No program
Cython8.538.548,976904  5% 100% 3% 3%
 pidigits 
No program
Cython0.040.10?379  0% 90% 0% 0%
 fasta-redux 
No program
Cython0.330.331,8761115  0% 0% 100% 0%
 richards 
No program
Cython1.001.008,8282467  1% 1% 100% 0%
 fib50 
No program
Cython1.061.068,808156  1% 4% 0% 100%
 binary-trees 
No program
Cython3.050.8867,052706  90% 91% 87% 84%
 fibonacci 
No program
Cython0.790.799,428184  0% 0% 99% 3%
 n-body 
No program
Cython25.5425.568,7121315  100% 1% 0% 0%
 iobench 
No program
Cython0.030.03?366  0% 100% 0% 0%
 pystone 
No program
Cython0.220.228762288  0% 5% 0% 100%
 jsonbench 
No program
Cython4.904.9011,996323  2% 0% 100% 1%
 reverse-complement 
No program
Cython0.030.03?458  100% 25% 0% 0%
 templates 
No program
Cython1.421.4416,612328  1% 94% 2% 6%
 spectral-norm 
No program
Cython7.802.1855,412575  90% 90% 94% 90%
 mandelbrot 
No program
Cython101.2126.53189,8043832  99% 100% 96% 97%
 thread-ring 
No program
Cython0.360.361,816407  0% 100% 0% 3%
 binary-trees-redux
   No programs

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Shedskin programs for these benchmarks?

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

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

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Shedskin and Cython 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.

 Shedskin : Shedskin compiler 

 

Revised BSD license

  Home   Conclusions   License   Play