Each chart bar shows, for one unidentified benchmark, how much the fastest Nuitka 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 Nuitka program used compared to the fastest Cython program.
(Memory use is only compared for tasks that require memory to be allocated.)
Nuitka used what fraction? used how many times more? | ||||
---|---|---|---|---|
Benchmark | Time | Memory | Code | |
meteor-contest | 1/2 | ± | ||
k-nucleotide | ± | ? | ± | |
templates | ± | ± | ||
richards | ± | ± | ||
jsonbench | ± | ± | ||
chameneos-redux | ± | ± | ||
fasta † | ± | 2× | ||
regex-dna | ± | ? | ± | |
pidigits † | ± | ? | ± | |
reverse-complement | ± | ? | ± | |
thread-ring † | 2× | ± | ||
fasta-redux | 2× | ? | ± | |
pystone | 2× | ? | ± | |
n-body | 3× | ± | ||
fib50 | 5× | ± | ||
iobench | 145× | ? | ± |
Nuitka used what fraction? used how many times more? | |||||||
---|---|---|---|---|---|---|---|
Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
(Elapsed secs) | 1/2 | 1/2 | ± | ± | 2× | 3× | 145× |
† possible mismatch - one-core program compared to multi-core program.
± 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 Nuitka 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 |
---|---|---|---|---|---|
meteor-contest | |||||
Nuitka | 1.35 | 1.35 | 11,392 | 1443 | 1% 0% 0% 0% 1% 100% 0% 0% |
Cython | 2.35 | 2.35 | 11,184 | 1334 | 100% 0% 0% 0% 2% 1% 0% 0% |
k-nucleotide | |||||
Nuitka | 0.08 | 0.06 | ? | 801 | 14% 71% 14% 17% 0% 17% 17% 0% |
Cython | 0.07 | 0.07 | ? | 618 | 100% 22% 0% 0% 0% 0% 0% 0% |
templates | |||||
Nuitka | 0.63 | 0.63 | 19,200 | 322 | 3% 100% 0% 0% 2% 3% 2% 0% |
Cython | 0.64 | 0.65 | 18,396 | 328 | 2% 2% 2% 0% 3% 0% 100% 2% |
richards | |||||
Nuitka | 0.58 | 0.58 | 11,264 | 2434 | 2% 2% 0% 0% 2% 2% 100% 0% |
Cython | 0.58 | 0.58 | 9,072 | 2467 | 100% 2% 0% 0% 2% 0% 2% 0% |
jsonbench | |||||
Nuitka | 2.16 | 2.16 | 14,896 | 322 | 0% 0% 0% 100% 0% 0% 0% 0% |
Cython | 2.16 | 2.16 | 13,212 | 323 | 3% 0% 1% 0% 0% 1% 0% 100% |
chameneos-redux | |||||
Nuitka | 188.65 | 274.40 | 15,268 | 1191 | 8% 5% 5% 5% 9% 8% 8% 9% |
Cython | 177.89 | 271.05 | 12,888 | 1203 | 6% 3% 3% 3% 11% 10% 10% 11% |
fasta | |||||
Nuitka | 5.59 | 2.59 | 72,224 | 2016 | 69% 14% 2% 63% 38% 7% 23% 5% † |
Cython | 2.51 | 2.52 | 8,880 | 945 | 4% 0% 0% 100% 0% 1% 0% 0% † |
regex-dna | |||||
Nuitka | 0.04 | 0.05 | ? | 524 | 17% 0% 0% 0% 0% 100% 0% 0% |
Cython | 0.04 | 0.04 | ? | 524 | 20% 0% 0% 0% 100% 0% 0% 0% |
pidigits | |||||
Nuitka | 0.03 | 0.03 | ? | 379 | 0% 75% 0% 0% 0% 0% 0% 0% † |
Cython | 0.02 | 0.02 | ? | 349 | 0% 0% 100% 0% 0% 33% 0% 0% † |
reverse-complement | |||||
Nuitka | 0.03 | 0.03 | ? | 458 | 0% 0% 0% 0% 0% 0% 100% 0% |
Cython | 0.02 | 0.02 | ? | 449 | 0% 0% 0% 0% 0% 0% 100% 0% |
thread-ring | |||||
Nuitka | 0.35 | 0.35 | 1,152 | 406 | 17% 3% 3% 0% 100% 14% 16% 9% † |
Cython | 0.23 | 0.23 | 3,120 | 419 | 4% 0% 100% 0% 0% 0% 4% 4% † |
fasta-redux | |||||
Nuitka | 0.19 | 0.19 | ? | 1115 | 5% 0% 100% 0% 0% 0% 0% 0% |
Cython | 0.11 | 0.12 | ? | 1169 | 100% 0% 0% 0% 0% 0% 0% 0% |
pystone | |||||
Nuitka | 0.15 | 0.15 | ? | 2300 | 7% 6% 6% 0% 0% 100% 0% 0% |
Cython | 0.07 | 0.07 | ? | 2401 | 12% 0% 88% 0% 0% 0% 0% 0% |
n-body | |||||
Nuitka | 27.09 | 27.10 | 11,136 | 1315 | 2% 1% 0% 0% 1% 0% 100% 0% |
Cython | 8.33 | 8.33 | 8,944 | 1392 | 0% 100% 0% 0% 1% 0% 0% 1% |
fib50 | |||||
Nuitka | 2.92 | 2.92 | 11,136 | 136 | 2% 1% 1% 1% 100% 0% 0% 0% |
Cython | 0.53 | 0.54 | 8,752 | 159 | 2% 0% 100% 4% 0% 2% 2% 4% |
iobench | |||||
Nuitka | 2.75 | 2.76 | 11,008 | 367 | 100% 0% 0% 0% 0% 0% 1% 0% |
Cython | 0.02 | 0.02 | ? | 366 | 0% 0% 0% 0% 0% 100% 0% 0% |
binary-trees | |||||
Nuitka | 1.06 | 0.22 | 2,304 | 741 | 70% 62% 59% 59% 59% 82% 59% 55% |
fannkuch-redux | |||||
Nuitka | 4.48 | 0.62 | 102,152 | 894 | 92% 90% 98% 89% 92% 84% 92% 90% |
spectral-norm | |||||
Nuitka | 0.10 | 0.11 | ? | 394 | 8% 0% 91% 0% 0% 0% 0% 0% |
mandelbrot | |||||
Nuitka | 36.89 | 4.88 | 300,640 | 3852 | 100% 95% 97% 94% 94% 95% 95% 95% |
fibonacci | |||||
binary-trees-redux | |||||
† possible mismatch - one-core program compared to multi-core program.
Remember - those are just the fastest Nuitka and Cython programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Nuitka.
Maybe one of those other Nuitka programs is fastest on a different OS/machine.
Remember - those are just the fastest Nuitka 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.