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

† 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.582.5910,7241443  8% 5% 97% 9%
Cython3.463.6211,3481334  100% 1% 0% 1%
 fibonacci 
Nuitka0.680.6910,844182  9% 3% 41% 100%
Cython0.670.719,420184  100% 24% 0% 0%
 k-nucleotide 
Nuitka0.180.09?2011  38% 89% 40% 38% †
Cython0.090.09?618  11% 100% 0% 0% †
 chameneos-redux 
Nuitka347.34175.6010,0561191  49% 42% 48% 47%
Cython338.88167.678,9561203  51% 44% 51% 48%
 templates 
Nuitka1.001.0117,104322  6% 100% 1% 0%
Cython0.920.9216,340328  12% 100% 1% 0%
 regex-dna 
Nuitka0.060.06?524  14% 0% 0% 100%
Cython0.050.05?524  0% 0% 14% 100%
 richards 
Nuitka0.700.719,8482434  4% 1% 100% 1% †
Cython0.630.638,7002467  21% 83% 2% 15% †
 jsonbench 
Nuitka3.333.4813,868322  100% 4% 1% 0%
Cython3.073.0812,844323  7% 100% 0% 2%
 fasta 
Nuitka3.914.1010,1241698  100% 1% 1% 1%
Cython3.183.338,944945  100% 1% 2% 8%
 pidigits 
Nuitka0.040.04?379  0% 0% 0% 100%
Cython0.030.03?349  0% 100% 0% 0%
 reverse-complement 
Nuitka0.030.03?878  25% 100% 0% 0% †
Cython0.020.02?449  0% 100% 0% 0% †
 fasta-redux 
Nuitka0.230.231,5521115  27% 0% 78% 4%
Cython0.130.13?1169  0% 100% 0% 0%
 n-body 
Nuitka34.9534.989,8441315  5% 2% 100% 1%
Cython10.5010.599,0441392  22% 82% 0% 0%
 fib50 
Nuitka4.314.519,960136  100% 0% 0% 1%
Cython0.680.689,136159  4% 1% 100% 0%
 thread-ring 
Nuitka32.9823.7914,616448  32% 27% 31% 37%
Cython0.310.321,696419  97% 29% 0% 3%
 iobench 
Nuitka5.705.719,920367  5% 0% 100% 3%
Cython0.020.03?366  100% 0% 0% 0%
 binary-trees 
Nuitka2.480.8059,364741  91% 80% 80% 80%
No program
 fannkuch-redux 
Nuitka10.722.8553,632894  100% 94% 95% 95%
No program
 spectral-norm 
Nuitka0.460.4635,584642  4% 0% 100% 0%
No program
 mandelbrot
   No programs
 binary-trees-redux
   No programs
 pystone
   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