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.100.10?618  9% 0% 100% 0%
 fasta 
No program
Cython3.463.468,776945  5% 100% 0% 0%
 fasta-redux 
No program
Cython0.160.16?1169  0% 0% 94% 6%
 reverse-complement 
No program
Cython0.030.03?458  0% 0% 100% 25%
 fib50 
No program
Cython0.740.758,548159  5% 100% 1% 0%
 pidigits 
No program
Cython0.030.03?349  0% 25% 100% 0%
 fibonacci 
No program
Cython0.680.689,304184  6% 3% 100% 1%
 templates 
No program
Cython1.071.1020,024328  10% 10% 8% 96%
 iobench 
No program
Cython0.020.03?366  0% 0% 0% 100%
 n-body 
No program
Cython11.6212.038,5361392  79% 0% 23% 0%
 jsonbench 
No program
Cython3.423.4212,068323  6% 2% 100% 0%
 regex-dna 
No program
Cython0.060.06?524  0% 0% 100% 14%
 chameneos-redux 
No program
Cython333.96165.088,5281203  48% 41% 47% 46%
 richards 
No program
Cython0.720.728,5282467  4% 100% 0% 0%
 meteor-contest 
No program
Cython3.723.8911,1041334  100% 1% 1% 1%
 thread-ring 
No program
Cython0.360.361,952419  9% 3% 0% 100%
 fannkuch-redux
   No programs
 spectral-norm
   No programs
 mandelbrot
   No programs
 binary-trees-redux
   No programs
 binary-trees
   No programs
 pystone
   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