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

† 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
 meteor-contest 
Nuitka2.472.4710,9921443  0% 0% 100% 0%
Cython3.683.6811,4201334  0% 0% 100% 0%
 richards 
Nuitka0.690.6910,5362434  0% 0% 0% 100%
Cython0.760.768,8002467  0% 0% 99% 1%
 jsonbench 
Nuitka3.603.6013,632322  0% 0% 0% 100%
Cython3.623.6213,024323  0% 72% 0% 29%
 fannkuch-redux 
Nuitka10.112.7060,7561069  95% 93% 97% 90%
Cython10.162.6952,7681027  93% 94% 94% 97%
 fibonacci 
Nuitka0.680.6811,220182  0% 3% 0% 100%
Cython0.670.679,656184  0% 100% 0% 3%
 templates 
Nuitka1.271.2721,668322  1% 0% 100% 0%
Cython1.241.2421,220328  1% 69% 1% 32%
 chameneos-redux 
Nuitka118.5063.9711,0521191  33% 38% 33% 35%
Cython115.4062.108,7081203  31% 34% 35% 37%
 mandelbrot 
Nuitka80.6020.4911,361,9643832  99% 98% 98% 99%
Cython72.9118.51186,9643832  98% 98% 99% 100%
 k-nucleotide 
Nuitka0.110.11?594  8% 0% 9% 100%
Cython0.090.09?618  0% 100% 10% 10%
 binary-trees 
Nuitka2.610.7666,116706  95% 84% 84% 86%
Cython1.850.5560,892735  82% 80% 84% 93%
 pidigits 
Nuitka0.040.04?379  0% 0% 0% 100%
Cython0.030.03?349  0% 0% 100% 0%
 reverse-complement 
Nuitka0.040.04?458  0% 0% 100% 0%
Cython0.020.02?449  0% 0% 0% 100%
 fasta-redux 
Nuitka0.260.261,7681115  100% 0% 4% 0%
Cython0.150.15?1169  0% 6% 100% 0%
 fasta 
Nuitka7.647.6510,324904  0% 0% 100% 0%
Cython4.294.299,012945  100% 0% 0% 0%
 pystone 
Nuitka0.180.19?2303  0% 0% 0% 100%
Cython0.090.09?2402  0% 10% 0% 100%
 thread-ring 
Nuitka0.650.6517,692407  98% 0% 2% 0%
Cython0.280.291,836419  0% 3% 3% 100%
 n-body 
Nuitka41.7041.7010,1601315  100% 0% 0% 0% †
Cython12.8512.858,9321392  8% 54% 57% 8% †
 regex-dna 
Nuitka0.140.20?573  45% 10% 25% 5%
Cython0.050.05?524  0% 0% 0% 100%
 fib50 
Nuitka4.094.0910,032136  0% 100% 0% 0%
Cython0.800.809,144156  1% 1% 0% 100%
 iobench 
Nuitka3.333.3310,492367  100% 0% 0% 0%
Cython0.020.02?366  0% 0% 100% 0%
 spectral-norm 
Nuitka0.360.371,756642  0% 0% 25% 75%
No program
 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