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

† 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,8641443  1% 100% 1% 2%
Cython3.543.5511,6561334  4% 3% 3% 100%
 richards 
Nuitka0.700.7110,4002434  100% 0% 0% 3%
Cython0.750.768,7882467  99% 1% 0% 0%
 templates 
Nuitka1.211.2121,076322  2% 8% 2% 93%
Cython1.151.1521,432328  100% 1% 0% 1%
 fibonacci 
Nuitka0.720.7211,112182  17% 99% 18% 17% †
Cython0.680.689,520184  12% 6% 0% 100% †
 chameneos-redux 
Nuitka165.1592.3911,0121191  46% 47% 43% 46%
Cython155.3284.889,0241203  42% 42% 40% 42%
 fannkuch-redux 
Nuitka10.743.0462,0441069  92% 94% 91% 96%
Cython10.052.6654,9081027  94% 96% 96% 98%
 mandelbrot 
Nuitka82.3921.8960,5283832  97% 98% 97% 97%
Cython72.5718.91191,6523832  99% 99% 96% 99%
 jsonbench 
Nuitka4.514.5614,328322  52% 27% 71% 23% †
Cython3.613.6212,816323  1% 2% 100% 1% †
 binary-trees 
Nuitka2.400.7866,324741  86% 92% 85% 83%
Cython1.870.5661,260735  82% 82% 95% 82%
 pidigits 
Nuitka0.040.04?379  0% 0% 0% 100% †
Cython0.030.03?349  25% 100% 0% 0% †
 reverse-complement 
Nuitka0.040.04?458  20% 100% 0% 0%
Cython0.020.03?449  0% 0% 100% 0%
 k-nucleotide 
Nuitka0.140.15?594  29% 100% 33% 33% †
Cython0.090.09?618  0% 0% 100% 0% †
 fasta 
Nuitka6.916.9310,572889  31% 3% 70% 3%
Cython4.194.209,072945  1% 1% 2% 100%
 fasta-redux 
Nuitka0.280.281,6801115  13% 100% 7% 4% †
Cython0.160.16?1169  0% 100% 0% 0% †
 pystone 
Nuitka0.190.19?2303  0% 0% 100% 0%
Cython0.090.09?2402  0% 100% 0% 0%
 thread-ring 
Nuitka0.650.6517,784407  5% 22% 3% 78%
Cython0.290.291,800419  7% 0% 3% 100%
 n-body 
Nuitka38.2738.3510,3681315  47% 1% 54% 1%
Cython12.5812.609,0601392  1% 33% 3% 68%
 regex-dna 
Nuitka0.140.19?573  30% 11% 39% 15%
Cython0.050.05?524  0% 100% 17% 0%
 fib50 
Nuitka3.933.9410,504136  2% 2% 1% 100%
Cython0.800.819,336156  100% 0% 0% 1%
 iobench 
Nuitka4.634.6610,288367  17% 18% 100% 18% †
Cython0.020.03?366  100% 0% 0% 0% †
 spectral-norm 
Nuitka0.440.4937,940642  2% 17% 4% 82%
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