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

† 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.450.4535,968642  2% 2% 0% 100% †
Cython9.752.6753,796575  95% 94% 96% 94% †
 fasta 
Nuitka13.175.62423,4562016  83% 62% 43% 56%
Cython13.3813.408,240904  16% 92% 16% 21%
 fannkuch-redux 
Nuitka15.984.1961,080894  97% 98% 96% 97%
Cython25.676.9953,7961271  96% 92% 98% 91%
 meteor-contest 
Nuitka3.343.3411,0361443  5% 4% 100% 6%
Cython5.135.139,4481334  1% 100% 0% 3%
 jsonbench 
Nuitka4.944.9413,700322  0% 0% 100% 0% †
Cython6.756.7512,312323  29% 100% 27% 22% †
 k-nucleotide 
Nuitka0.150.15?594  100% 0% 0% 0% †
Cython0.180.19?594  30% 22% 100% 21% †
 richards 
Nuitka0.910.9110,3602434  0% 100% 1% 0%
Cython0.960.968,2842467  3% 100% 0% 4%
 chameneos-redux 
Nuitka162.1791.7710,3561191  39% 39% 35% 41%
Cython171.6094.138,2561203  39% 36% 48% 50%
 fibonacci 
Nuitka0.830.8311,008182  0% 1% 1% 100%
Cython0.840.849,312184  4% 100% 1% 1%
 pystone 
Nuitka0.260.261,5922303  0% 100% 0% 4%
Cython0.260.271,6122288  100% 7% 0% 0%
 templates 
Nuitka1.671.6726,292322  1% 0% 100% 1%
Cython1.651.6515,552328  7% 7% 4% 100%
 fasta-redux 
Nuitka0.380.391,6201115  0% 0% 0% 100% †
Cython0.370.381,6481115  100% 13% 3% 5% †
 binary-trees 
Nuitka3.671.0869,208741  87% 82% 91% 83%
Cython3.270.9865,912706  94% 83% 86% 84%
 regex-dna 
Nuitka0.080.08?524  0% 0% 100% 0%
Cython0.060.06?524  86% 0% 14% 0%
 pidigits 
Nuitka0.050.05?379  100% 17% 0% 0% †
Cython0.030.04?379  0% 0% 50% 100% †
 reverse-complement 
Nuitka0.050.05?449  0% 100% 0% 0% †
Cython0.030.03?449  100% 50% 0% 0% †
 n-body 
Nuitka55.8355.8310,4921315  82% 1% 19% 1%
Cython33.5233.538,2841315  56% 7% 50% 6%
 mandelbrot 
Nuitka108.7359.8760,3003832  96% 96% 97% 95%
Cython101.0427.98184,1243832  99% 100% 99% 99%
 thread-ring 
Nuitka1.101.1019,976407  0% 100% 0% 1%
Cython0.370.371,616407  3% 3% 100% 0%
 fib50 
Nuitka5.385.3810,320136  1% 1% 100% 2%
Cython1.341.358,764156  100% 5% 4% 2%
 iobench 
Nuitka4.354.3510,452367  100% 1% 1% 0% †
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