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

† 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.612.6210,0921443  100% 5% 1% 0%
Cython3.553.5611,0641334  6% 1% 1% 100%
 chameneos-redux 
Nuitka207.00109.789,7841191  40% 42% 43% 46%
Cython283.91141.148,7441203  51% 43% 48% 45%
 richards 
Nuitka0.710.719,6682434  1% 6% 1% 100%
Cython0.740.748,6882467  7% 100% 3% 1%
 jsonbench 
Nuitka3.463.4713,188322  100% 5% 0% 1%
Cython3.373.5212,352323  100% 1% 2% 0%
 fasta 
Nuitka9.364.1089,7322016  74% 59% 37% 67% †
Cython4.074.078,500945  6% 1% 100% 1% †
 fibonacci 
Nuitka0.680.6810,456182  100% 6% 0% 0%
Cython0.670.679,308184  7% 99% 1% 1%
 templates 
Nuitka1.141.1420,104322  1% 7% 2% 100%
Cython1.041.0920,056328  100% 1% 1% 2%
 regex-dna 
Nuitka0.050.06?524  0% 0% 83% 0%
Cython0.050.05?524  0% 17% 0% 100%
 k-nucleotide 
Nuitka0.110.11?594  100% 9% 0% 8% †
Cython0.090.09?618  10% 11% 100% 0% †
 pidigits 
Nuitka0.040.04?379  0% 0% 100% 0%
Cython0.030.03?349  0% 0% 100% 0%
 reverse-complement 
Nuitka0.030.03?878  75% 0% 0% 25%
Cython0.020.02?449  0% 0% 0% 100%
 fasta-redux 
Nuitka0.270.271,7521115  4% 4% 4% 100%
Cython0.150.16?1169  6% 0% 100% 0%
 pystone 
Nuitka0.190.19?2303  0% 5% 100% 0%
Cython0.090.09?2402  0% 0% 100% 0%
 n-body 
Nuitka38.1038.149,6721315  37% 5% 64% 1%
Cython9.879.888,4961392  6% 1% 100% 1%
 fib50 
Nuitka4.514.519,956136  73% 5% 28% 1%
Cython0.860.878,960159  5% 1% 100% 3%
 thread-ring 
Nuitka26.5020.1114,096448  37% 28% 30% 25%
Cython0.290.291,956419  4% 0% 100% 3%
 iobench 
Nuitka5.075.089,728367  1% 6% 1% 100%
Cython0.020.02?366  0% 0% 100% 0%
 binary-trees 
Nuitka2.470.7669,088741  82% 84% 81% 86%
No program
 spectral-norm 
Nuitka0.130.13?394  0% 100% 0% 0%
No program
 fannkuch-redux 
Nuitka10.722.8859,436894  95% 94% 97% 94%
No program
 mandelbrot 
Nuitka78.3920.9011,334,0243832  99% 98% 100% 98%
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