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.
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.
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 | |||||
Cython | 0.23 | 0.23 | 3,120 | 419 | 4% 0% 100% 0% 0% 0% 4% 4% |
richards | |||||
Cython | 0.58 | 0.58 | 9,072 | 2467 | 100% 2% 0% 0% 2% 0% 2% 0% |
templates | |||||
Cython | 0.64 | 0.65 | 18,396 | 328 | 2% 2% 2% 0% 3% 0% 100% 2% |
regex-dna | |||||
Cython | 0.04 | 0.04 | ? | 524 | 20% 0% 0% 0% 100% 0% 0% 0% |
reverse-complement | |||||
Cython | 0.02 | 0.02 | ? | 449 | 0% 0% 0% 0% 0% 0% 100% 0% |
pidigits | |||||
Cython | 0.02 | 0.02 | ? | 349 | 0% 0% 100% 0% 0% 33% 0% 0% |
pystone | |||||
Cython | 0.07 | 0.07 | ? | 2401 | 12% 0% 88% 0% 0% 0% 0% 0% |
meteor-contest | |||||
Cython | 2.35 | 2.35 | 11,184 | 1334 | 100% 0% 0% 0% 2% 1% 0% 0% |
n-body | |||||
Cython | 8.33 | 8.33 | 8,944 | 1392 | 0% 100% 0% 0% 1% 0% 0% 1% |
jsonbench | |||||
Cython | 2.16 | 2.16 | 13,212 | 323 | 3% 0% 1% 0% 0% 1% 0% 100% |
k-nucleotide | |||||
Cython | 0.07 | 0.07 | ? | 618 | 100% 22% 0% 0% 0% 0% 0% 0% |
iobench | |||||
Cython | 0.02 | 0.02 | ? | 366 | 0% 0% 0% 0% 0% 100% 0% 0% |
fib50 | |||||
Cython | 0.53 | 0.54 | 8,752 | 159 | 2% 0% 100% 4% 0% 2% 2% 4% |
fasta-redux | |||||
Cython | 0.11 | 0.12 | ? | 1169 | 100% 0% 0% 0% 0% 0% 0% 0% |
fasta | |||||
Cython | 2.51 | 2.52 | 8,880 | 945 | 4% 0% 0% 100% 0% 1% 0% 0% |
chameneos-redux | |||||
Cython | 177.89 | 271.05 | 12,888 | 1203 | 6% 3% 3% 3% 11% 10% 10% 11% |
fannkuch-redux | |||||
fibonacci | |||||
spectral-norm | |||||
mandelbrot | |||||
binary-trees-redux | |||||
binary-trees | |||||
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.
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.