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

† 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.632.6310,2161443  100% 7% 1% 1%
Cython3.693.8611,0161334  2% 100% 4% 2%
 richards 
Nuitka0.740.749,5322434  100% 5% 8% 3%
Cython0.800.808,4122467  2% 10% 4% 100%
 jsonbench 
Nuitka3.483.4912,516322  24% 9% 79% 1%
Cython3.503.6611,216323  4% 100% 5% 2%
 k-nucleotide 
Nuitka0.110.11?594  15% 15% 0% 100%
Cython0.100.11?618  27% 80% 27% 18%
 templates 
Nuitka1.181.1820,288322  8% 9% 100% 7%
Cython1.161.1819,924328  9% 13% 13% 100%
 fibonacci 
Nuitka0.680.6810,252182  100% 7% 3% 3%
Cython0.670.679,096184  4% 7% 100% 2%
 fannkuch-redux 
Nuitka10.593.0056,904894  99% 97% 94% 97%
Cython10.102.9252,9441027  92% 92% 86% 94%
 mandelbrot 
Nuitka82.9122.8160,9323832  98% 98% 96% 96%
Cython79.3722.10183,0963832  99% 99% 98% 97%
 chameneos-redux 
Nuitka164.2394.559,8641191  44% 52% 44% 41%
Cython151.7685.348,5441203  45% 50% 43% 40%
 binary-trees 
Nuitka2.530.7669,376741  83% 88% 84% 91%
Cython1.880.6860,940735  72% 75% 87% 69%
 pidigits 
Nuitka0.030.04?379  0% 0% 100% 25% †
Cython0.030.03?349  0% 0% 100% 0% †
 reverse-complement 
Nuitka0.030.03?458  100% 0% 0% 0%
Cython0.020.02?449  100% 0% 0% 0%
 fasta 
Nuitka7.097.109,988904  6% 15% 8% 100% †
Cython4.024.178,584945  6% 86% 3% 18% †
 fasta-redux 
Nuitka0.300.301,7801115  7% 29% 10% 100%
Cython0.170.17?1169  0% 25% 0% 100%
 pystone 
Nuitka0.190.19?2303  95% 10% 5% 0%
Cython0.090.10?2402  0% 100% 10% 0%
 n-body 
Nuitka34.2234.259,4401315  1% 8% 100% 2% †
Cython11.9912.018,5001392  8% 11% 9% 100% †
 regex-dna 
Nuitka0.140.20?573  16% 19% 11% 42% †
Cython0.050.05?524  29% 29% 0% 100% †
 fib50 
Nuitka4.384.3910,016136  1% 8% 100% 1%
Cython0.770.788,748159  28% 9% 73% 1%
 thread-ring 
Nuitka26.7220.9114,220448  37% 32% 35% 23% †
Cython0.290.29844419  0% 7% 3% 100% †
 iobench 
Nuitka5.035.049,452367  2% 7% 1% 100%
Cython0.020.02?366  0% 100% 0% 0%
 spectral-norm 
Nuitka0.400.40728642  5% 5% 0% 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