Python Interpreters Benchmarks
x64 ArchLinux : AMD® Ryzen 7 4700U®

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

± 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
 thread-ring 
No program
Cython0.230.233,120419  4% 0% 100% 0% 0% 0% 4% 4%
 richards 
No program
Cython0.580.589,0722467  100% 2% 0% 0% 2% 0% 2% 0%
 templates 
No program
Cython0.640.6518,396328  2% 2% 2% 0% 3% 0% 100% 2%
 regex-dna 
No program
Cython0.040.04?524  20% 0% 0% 0% 100% 0% 0% 0%
 reverse-complement 
No program
Cython0.020.02?449  0% 0% 0% 0% 0% 0% 100% 0%
 pidigits 
No program
Cython0.020.02?349  0% 0% 100% 0% 0% 33% 0% 0%
 pystone 
No program
Cython0.070.07?2401  12% 0% 88% 0% 0% 0% 0% 0%
 meteor-contest 
No program
Cython2.352.3511,1841334  100% 0% 0% 0% 2% 1% 0% 0%
 n-body 
No program
Cython8.338.338,9441392  0% 100% 0% 0% 1% 0% 0% 1%
 jsonbench 
No program
Cython2.162.1613,212323  3% 0% 1% 0% 0% 1% 0% 100%
 k-nucleotide 
No program
Cython0.070.07?618  100% 22% 0% 0% 0% 0% 0% 0%
 iobench 
No program
Cython0.020.02?366  0% 0% 0% 0% 0% 100% 0% 0%
 fib50 
No program
Cython0.530.548,752159  2% 0% 100% 4% 0% 2% 2% 4%
 fasta-redux 
No program
Cython0.110.12?1169  100% 0% 0% 0% 0% 0% 0% 0%
 fasta 
No program
Cython2.512.528,880945  4% 0% 0% 100% 0% 1% 0% 0%
 chameneos-redux 
No program
Cython177.89271.0512,8881203  6% 3% 3% 3% 11% 10% 10% 11%
 fannkuch-redux
   No programs
 fibonacci
   No programs
 spectral-norm
   No programs
 mandelbrot
   No programs
 binary-trees-redux
   No programs
 binary-trees
   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