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-contest1/2 ±
 richards± ±
 templates± ±
 jsonbench± ±
 fibonacci± ±
 fannkuch-redux± ±
 chameneos-redux± ±
 mandelbrot± ±
 k-nucleotide±?±
 binary-trees±±±
 pidigits±?±
 reverse-complement †?
 fasta ±
 fasta-redux?±
 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)1/21/2±±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.442.4410,9561443  0% 0% 100% 2%
Cython3.683.6811,4201334  0% 0% 100% 0%
 richards 
Nuitka0.690.6910,4962434  1% 61% 1% 40%
Cython0.760.768,8002467  0% 0% 99% 1%
 templates 
Nuitka1.201.2021,524322  1% 100% 1% 0%
Cython1.241.2421,220328  1% 69% 1% 32%
 jsonbench 
Nuitka3.653.6613,908322  100% 4% 4% 1%
Cython3.623.6213,024323  0% 72% 0% 29%
 fibonacci 
Nuitka0.690.6911,240182  4% 13% 3% 100%
Cython0.670.679,656184  0% 100% 0% 3%
 fannkuch-redux 
Nuitka10.122.7859,6001069  92% 95% 92% 93%
Cython10.162.6952,7681027  93% 94% 94% 97%
 chameneos-redux 
Nuitka120.4565.6310,6161191  39% 37% 40% 38%
Cython114.6961.868,7681203  31% 37% 31% 38%
 mandelbrot 
Nuitka79.6520.5311,363,0043832  97% 99% 98% 97%
Cython72.9118.51186,9643832  98% 98% 99% 100%
 k-nucleotide 
Nuitka0.110.11?594  0% 0% 100% 0%
Cython0.090.09?618  0% 100% 10% 10%
 binary-trees 
Nuitka2.630.8068,156706  83% 79% 81% 96%
Cython1.850.5560,892735  82% 80% 84% 93%
 pidigits 
Nuitka0.040.04?379  0% 0% 100% 0%
Cython0.030.03?349  0% 0% 100% 0%
 reverse-complement 
Nuitka0.040.04?878  0% 25% 100% 0% †
Cython0.020.02?449  0% 0% 0% 100% †
 fasta 
Nuitka6.816.8210,644904  1% 1% 100% 4%
Cython4.294.299,012945  100% 0% 0% 0%
 fasta-redux 
Nuitka0.280.281,6201115  7% 0% 100% 3%
Cython0.150.15?1169  0% 6% 100% 0%
 pystone 
Nuitka0.180.19?2303  100% 0% 0% 0%
Cython0.090.09?2402  0% 10% 0% 100%
 thread-ring 
Nuitka0.640.6418,076407  2% 3% 0% 98%
Cython0.280.291,836419  0% 3% 3% 100%
 n-body 
Nuitka43.4743.4810,4801315  100% 1% 0% 1% †
Cython12.8512.858,9321392  8% 54% 57% 8% †
 regex-dna 
Nuitka0.150.221,696573  10% 5% 40% 22%
Cython0.050.05?524  0% 0% 0% 100%
 fib50 
Nuitka4.204.2010,440136  3% 100% 1% 2%
Cython0.800.809,144156  1% 1% 0% 100%
 iobench 
Nuitka3.343.3510,072367  1% 1% 100% 6%
Cython0.020.02?366  0% 0% 100% 0%
 spectral-norm 
Nuitka0.340.341,696642  74% 3% 3% 29%
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