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-nucleotide1/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

± 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.060.05?593  0% 20% 0% 100%
Cython0.090.09?618  0% 100% 10% 10%
 reverse-complement 
No program
Cython0.020.02?449  0% 0% 0% 100%
 fannkuch-redux 
No program
Cython10.202.6653,6121027  96% 97% 94% 98%
 n-body 
No program
Cython13.0013.018,9121392  15% 10% 95% 10%
 fasta 
No program
Cython4.314.318,792945  0% 0% 100% 0%
 chameneos-redux 
No program
Cython114.6961.868,7681203  31% 37% 31% 38%
 fasta-redux 
No program
Cython0.170.17?1169  6% 100% 0% 0%
 pystone 
No program
Cython0.090.09?2402  0% 0% 100% 0%
 fib50 
No program
Cython0.800.809,360156  0% 100% 0% 1%
 templates 
No program
Cython1.251.2620,828328  0% 0% 2% 98%
 fibonacci 
No program
Cython0.670.679,564184  100% 0% 1% 0%
 meteor-contest 
No program
Cython3.493.4911,4441334  1% 74% 0% 27%
 iobench 
No program
Cython0.020.02?366  0% 0% 0% 100%
 pidigits 
No program
Cython0.030.03?349  67% 0% 0% 0%
 jsonbench 
No program
Cython3.613.6211,884323  100% 0% 0% 0%
 regex-dna 
No program
Cython0.050.05?524  0% 0% 0% 100%
 binary-trees 
No program
Cython1.870.6760,636735  72% 79% 73% 72%
 richards 
No program
Cython0.750.758,6882467  0% 100% 0% 1%
 mandelbrot 
No program
Cython71.2018.18187,8123832  99% 99% 97% 97%
 thread-ring 
No program
Cython0.280.281,864419  3% 72% 11% 29%
 spectral-norm
   No programs
 binary-trees-redux
   No programs

 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