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

† 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.692.7010,2921443  11% 100% 4% 3% †
Cython3.723.7311,1561334  100% 8% 9% 8% †
 k-nucleotide 
Nuitka0.110.11?594  9% 0% 0% 100% †
Cython0.120.12?618  15% 58% 8% 100% †
 richards 
Nuitka0.690.699,5802434  96% 0% 6% 1%
Cython0.730.738,5402467  4% 100% 3% 3%
 fibonacci 
Nuitka0.680.6810,392182  9% 9% 0% 100% †
Cython0.680.709,068184  81% 24% 22% 40% †
 jsonbench 
Nuitka3.543.5512,416322  7% 81% 2% 21%
Cython3.533.5412,416323  4% 100% 5% 3%
 templates 
Nuitka1.131.1320,356322  4% 2% 100% 4%
Cython1.071.0819,832328  3% 100% 3% 5%
 chameneos-redux 
Nuitka221.94118.199,8721191  48% 46% 49% 48%
Cython211.41111.178,5121203  47% 43% 46% 46%
 regex-dna 
Nuitka0.050.05?524  33% 100% 0% 0% †
Cython0.050.05?524  0% 100% 0% 0% †
 pidigits 
Nuitka0.030.04?379  100% 0% 0% 0%
Cython0.030.03?349  0% 100% 0% 0%
 reverse-complement 
Nuitka0.030.03?878  67% 0% 0% 0% †
Cython0.020.02?449  33% 0% 100% 0% †
 fasta-redux 
Nuitka0.260.261,8441115  11% 100% 0% 0%
Cython0.150.15?1169  0% 0% 100% 0%
 pystone 
Nuitka0.190.20?2303  100% 0% 5% 5%
Cython0.090.09?2402  0% 100% 0% 0%
 n-body 
Nuitka41.4141.499,7081315  13% 45% 51% 9% †
Cython12.0012.048,5441392  50% 8% 9% 55% †
 fib50 
Nuitka4.674.6810,148136  7% 2% 100% 2%
Cython0.760.778,744159  100% 3% 4% 3%
 thread-ring 
Nuitka26.0219.0014,024448  30% 32% 31% 33% †
Cython0.290.291,828419  100% 10% 7% 0% †
 iobench 
Nuitka5.145.149,580367  6% 2% 100% 2%
Cython0.020.02?366  100% 0% 0% 0%
 fasta 
Nuitka9.584.1190,3762016  53% 77% 77% 39%
No program
 fannkuch-redux 
Nuitka10.542.8656,000894  98% 93% 97% 92%
No program
 spectral-norm 
Nuitka0.120.13?394  0% 0% 100% 0%
No program
 binary-trees 
Nuitka2.460.7667,564741  85% 82% 88% 84%
No program
 mandelbrot 
Nuitka78.4220.3161,8723832  98% 97% 97% 99%
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