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  100% 0% 0% 0%
 reverse-complement 
No program
Cython0.030.03?449  100% 25% 0% 0%
 fannkuch-redux 
No program
Cython10.612.8753,9601027  94% 95% 92% 96%
 n-body 
No program
Cython12.8212.858,7041392  13% 92% 16% 15%
 fasta 
No program
Cython4.254.258,964945  2% 3% 3% 100%
 chameneos-redux 
No program
Cython154.8285.528,8881203  43% 42% 42% 40%
 fasta-redux 
No program
Cython0.180.18?1169  100% 0% 6% 0%
 pystone 
No program
Cython0.090.09?2402  0% 0% 100% 0%
 fib50 
No program
Cython0.870.879,140156  1% 3% 3% 100%
 templates 
No program
Cython1.171.1920,544328  92% 2% 2% 9%
 fibonacci 
No program
Cython0.670.689,416184  100% 7% 6% 3%
 meteor-contest 
No program
Cython3.543.5411,1681334  1% 100% 1% 1%
 iobench 
No program
Cython0.020.03?366  100% 0% 0% 0%
 pidigits 
No program
Cython0.030.03?349  0% 0% 0% 100%
 jsonbench 
No program
Cython3.693.6912,728323  100% 3% 5% 2%
 regex-dna 
No program
Cython0.060.07?524  38% 14% 56% 71%
 binary-trees 
No program
Cython1.880.6861,148735  82% 70% 72% 69%
 richards 
No program
Cython0.820.828,7522467  100% 10% 10% 14%
 mandelbrot 
No program
Cython67.0517.68191,2443832  96% 98% 99% 100%
 thread-ring 
No program
Cython0.290.291,968419  0% 3% 100% 0%
 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