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  11% 100% 0% 0%
 thread-ring 
No program
Cython0.300.32900419  100% 0% 0% 3%
 templates 
No program
Cython0.941.0016,240328  100% 2% 0% 1%
 richards 
No program
Cython0.620.658,6522467  100% 0% 0% 0%
 reverse-complement 
No program
Cython0.020.02?449  0% 100% 0% 0%
 regex-dna 
No program
Cython0.050.05?524  0% 0% 0% 100%
 pidigits 
No program
Cython0.030.03?349  33% 100% 0% 0%
 n-body 
No program
Cython10.5410.559,0441392  5% 100% 4% 0%
 meteor-contest 
No program
Cython3.463.4711,5441334  5% 100% 1% 0%
 iobench 
No program
Cython0.020.03?366  100% 0% 0% 0%
 jsonbench 
No program
Cython3.133.2111,860323  56% 48% 2% 0%
 fibonacci 
No program
Cython0.670.709,620184  100% 1% 1% 0%
 fib50 
No program
Cython0.700.748,872159  100% 3% 0% 0%
 fasta-redux 
No program
Cython0.140.15?1169  7% 0% 7% 100%
 fasta 
No program
Cython3.213.218,952945  5% 2% 100% 11%
 chameneos-redux 
No program
Cython338.88167.678,9561203  51% 44% 51% 48%
 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