vs

 1 : Are the Nuitka programs faster? At a glance.

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.

 2 : Are the Nuitka programs faster? Approximately.

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
 spectral-norm †1/5 ±
 meteor-contest± ±
 fannkuch-redux± ±
 richards± ±
 chameneos-redux± ±
 fibonacci± ±
 jsonbench± ±
 k-nucleotide †±?±
 fasta± ±
 pystone± ±
 fasta-redux± ±
 templates± ±
 binary-trees±±±
 pidigits †±?±
 reverse-complement±?±
 n-body ±
 mandelbrot ±
 thread-ring ±
 regex-dna?±
 fib50 ±
 iobench †130×?±
 Nuitka used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/51/5±±130×

† possible mismatch - one-core program compared to multi-core program.

± read the measurements and then read the program source code.

 3 : Are the Nuitka 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 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
 spectral-norm 
Nuitka0.460.4637,224642  2% 100% 2% 2% †
Cython7.792.1755,920575  90% 89% 90% 92% †
 meteor-contest 
Nuitka3.073.0710,8641443  100% 1% 1% 1%
Cython4.564.5611,2281334  1% 2% 0% 100%
 fannkuch-redux 
Nuitka15.744.2961,856894  95% 91% 97% 93%
Cython21.875.6856,2241271  98% 98% 95% 98%
 richards 
Nuitka1.041.0410,3842434  1% 4% 3% 100%
Cython1.041.048,7122467  11% 3% 89% 0%
 chameneos-redux 
Nuitka161.5190.3610,2801191  40% 39% 37% 42%
Cython160.1988.278,8361203  40% 39% 39% 39%
 fibonacci 
Nuitka0.810.8110,944182  27% 0% 77% 7%
Cython0.790.799,400184  1% 99% 0% 1%
 jsonbench 
Nuitka4.944.9413,696322  3% 2% 100% 1%
Cython4.794.7912,892323  2% 100% 1% 0%
 k-nucleotide 
Nuitka0.140.14?594  0% 100% 0% 0% †
Cython0.130.13?594  14% 100% 0% 15% †
 fasta 
Nuitka9.099.0910,476889  1% 100% 0% 0%
Cython8.368.378,916904  100% 0% 0% 1%
 pystone 
Nuitka0.250.251,6202303  4% 4% 100% 0%
Cython0.220.228882288  5% 0% 100% 0%
 fasta-redux 
Nuitka0.360.361,6721115  100% 3% 3% 0%
Cython0.300.301,7081115  100% 6% 0% 0%
 templates 
Nuitka1.681.6826,508322  100% 0% 3% 1%
Cython1.401.4016,644328  100% 0% 4% 1%
 binary-trees 
Nuitka3.621.0975,148741  85% 87% 93% 86%
Cython3.050.8767,172706  85% 86% 87% 94%
 pidigits 
Nuitka0.050.05?379  100% 17% 0% 0% †
Cython0.040.04?379  20% 25% 100% 0% †
 reverse-complement 
Nuitka0.050.05?458  0% 100% 0% 0%
Cython0.030.03?458  0% 0% 0% 80%
 n-body 
Nuitka56.5056.5010,2561315  54% 2% 48% 2%
Cython25.6525.658,8401315  1% 0% 0% 100%
 mandelbrot 
Nuitka111.4460.2960,1643832  95% 97% 93% 97%
Cython100.6325.82189,7323832  98% 96% 100% 99%
 thread-ring 
Nuitka0.860.8617,888407  99% 1% 6% 2%
Cython0.350.351,764407  3% 100% 3% 0%
 regex-dna 
Nuitka0.140.19?573  16% 11% 44% 15%
Cython0.060.06?524  0% 0% 100% 0%
 fib50 
Nuitka5.495.4910,240136  1% 1% 1% 100%
Cython1.091.098,816156  100% 2% 4% 0%
 iobench 
Nuitka4.294.2910,324367  1% 1% 0% 100% †
Cython0.030.03?366  0% 0% 100% 25% †
 binary-trees-redux
   No programs

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Nuitka programs for these benchmarks?

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.

 5 : Are there other faster programs for these benchmarks?

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.

 Nuitka : Nuitka compiler 

 

Revised BSD license

  Home   Conclusions   License   Play