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
 spectral-norm †1/6 ±
 fasta1/2 
 fannkuch-redux1/2 ±
 meteor-contest1/2 ±
 jsonbench †± ±
 k-nucleotide±?±
 pystone± ±
 templates± ±
 chameneos-redux± ±
 richards± ±
 fasta-redux †± ±
 fibonacci± ±
 regex-dna±?±
 binary-trees±±±
 pidigits †±?±
 reverse-complement †±?±
 n-body † ±
 mandelbrot ±
 thread-ring ±
 fib50 ±
 iobench135×?±
 Nuitka used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/61/6±±±135×

† 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
 spectral-norm 
Nuitka0.480.4835,920642  100% 4% 6% 0% †
Cython9.752.6753,796575  95% 94% 96% 94% †
 fasta 
Nuitka14.315.96423,2722016  54% 81% 59% 53%
Cython13.3813.408,240904  16% 92% 16% 21%
 fannkuch-redux 
Nuitka15.724.0861,732894  98% 96% 98% 98%
Cython25.676.9953,7961271  96% 92% 98% 91%
 meteor-contest 
Nuitka3.173.1710,4081443  46% 42% 2% 19%
Cython5.135.139,4481334  1% 100% 0% 3%
 jsonbench 
Nuitka4.984.9814,016322  2% 52% 51% 5% †
Cython6.756.7512,312323  29% 100% 27% 22% †
 k-nucleotide 
Nuitka0.150.15?594  20% 7% 7% 100%
Cython0.180.19?594  30% 22% 100% 21%
 pystone 
Nuitka0.240.251,7602303  4% 100% 0% 0%
Cython0.260.271,6122288  100% 7% 0% 0%
 templates 
Nuitka1.531.5320,732322  1% 0% 1% 100%
Cython1.651.6515,552328  7% 7% 4% 100%
 chameneos-redux 
Nuitka167.6291.1010,3561191  30% 32% 50% 49%
Cython171.6094.138,2561203  39% 36% 48% 50%
 richards 
Nuitka0.930.9310,0882434  2% 4% 100% 1%
Cython0.960.968,2842467  3% 100% 0% 4%
 fasta-redux 
Nuitka0.370.371,7401115  3% 100% 3% 5% †
Cython0.370.381,6481115  100% 13% 3% 5% †
 fibonacci 
Nuitka0.850.8610,960182  2% 100% 0% 0%
Cython0.840.849,312184  4% 100% 1% 1%
 regex-dna 
Nuitka0.070.07?524  0% 100% 0% 0%
Cython0.060.06?524  86% 0% 14% 0%
 binary-trees 
Nuitka4.041.1873,788741  86% 86% 94% 85%
Cython3.270.9865,912706  94% 83% 86% 84%
 pidigits 
Nuitka0.050.05?379  0% 0% 0% 100% †
Cython0.030.04?379  0% 0% 50% 100% †
 reverse-complement 
Nuitka0.040.05?449  100% 0% 0% 0% †
Cython0.030.03?449  100% 50% 0% 0% †
 n-body 
Nuitka60.8260.8410,2841315  26% 88% 15% 13% †
Cython33.5233.538,2841315  56% 7% 50% 6% †
 mandelbrot 
Nuitka107.8674.7158,4563832  97% 97% 96% 96%
Cython101.0427.98184,1243832  99% 100% 99% 99%
 thread-ring 
Nuitka1.171.1719,560407  3% 4% 3% 100%
Cython0.370.371,616407  3% 3% 100% 0%
 fib50 
Nuitka5.405.4010,160136  12% 2% 89% 1%
Cython1.341.358,764156  100% 5% 4% 2%
 iobench 
Nuitka4.604.6010,092367  9% 9% 7% 100%
Cython0.030.03?366  0% 50% 100% 67%
 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