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/3?±
 Shedskin used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/31/31/31/31/31/31/3

† 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.180.19?594  30% 22% 100% 21% †
 regex-dna 
No program
Cython0.060.06?524  0% 100% 0% 0%
 meteor-contest 
No program
Cython5.295.299,4081334  6% 100% 7% 4%
 fannkuch-redux 
No program
Cython25.526.7952,6561271  97% 94% 95% 98%
 chameneos-redux 
No program
Cython171.6094.138,2561203  39% 36% 48% 50%
 fasta 
No program
Cython12.2412.268,352904  59% 12% 54% 13%
 pidigits 
No program
Cython0.030.05?379  0% 57% 50% 0%
 fasta-redux 
No program
Cython0.390.401,6681115  0% 7% 0% 100%
 richards 
No program
Cython0.950.958,0882467  100% 3% 4% 0%
 fib50 
No program
Cython1.321.328,652156  15% 100% 6% 4%
 binary-trees 
No program
Cython3.270.9859,776706  86% 89% 84% 87%
 fibonacci 
No program
Cython0.840.849,348184  2% 1% 0% 100%
 n-body 
No program
Cython33.4233.438,1441315  7% 58% 49% 5%
 iobench 
No program
Cython0.030.03?366  25% 100% 100% 50%
 pystone 
No program
Cython0.250.251,6202288  8% 0% 100% 0%
 jsonbench 
No program
Cython5.495.5011,976323  3% 2% 100% 1%
 reverse-complement 
No program
Cython0.030.03?449  0% 25% 100% 0%
 templates 
No program
Cython1.591.6015,548328  3% 4% 2% 100%
 spectral-norm 
No program
Cython9.752.6853,040575  96% 93% 93% 93%
 mandelbrot 
No program
Cython100.3226.92185,5443832  98% 98% 97% 99%
 thread-ring 
No program
Cython0.370.381,624407  0% 8% 100% 5%
 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