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

† 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.702.7010,2081443  0% 1% 1% 100%
Cython3.713.7211,1041334  5% 100% 1% 1%
 chameneos-redux 
Nuitka308.69147.549,9201191  46% 49% 47% 48%
Cython333.96165.088,5281203  48% 41% 47% 46%
 regex-dna 
Nuitka0.060.06?524  0% 100% 0% 0% †
Cython0.060.06?524  100% 20% 17% 14% †
 richards 
Nuitka0.730.739,9282434  1% 1% 0% 100%
Cython0.710.738,5682467  55% 1% 1% 49%
 fibonacci 
Nuitka0.680.6810,300182  0% 100% 1% 0%
Cython0.680.689,228184  4% 0% 100% 0%
 k-nucleotide 
Nuitka0.110.11?594  0% 0% 0% 100%
Cython0.100.10?618  9% 0% 100% 0%
 jsonbench 
Nuitka3.533.5313,356322  1% 1% 1% 100%
Cython3.283.2812,648323  5% 0% 0% 100%
 templates 
Nuitka1.141.1420,320322  0% 100% 1% 2%
Cython1.041.0519,852328  7% 3% 5% 100%
 pidigits 
Nuitka0.040.04?379  100% 20% 0% 0%
Cython0.030.03?349  100% 0% 0% 0%
 reverse-complement 
Nuitka0.030.03?878  0% 0% 0% 100% †
Cython0.030.03?458  33% 0% 75% 33% †
 fasta 
Nuitka9.754.2176,0762016  77% 64% 67% 27% †
Cython3.423.438,752945  5% 0% 1% 100% †
 fasta-redux 
Nuitka0.270.271,6921115  0% 0% 96% 4%
Cython0.140.14?1169  8% 100% 0% 0%
 n-body 
Nuitka39.0239.059,6721315  1% 39% 1% 62%
Cython11.5811.988,5681392  76% 1% 26% 0%
 fib50 
Nuitka4.614.6210,284136  1% 100% 1% 1%
Cython0.770.778,548159  5% 3% 99% 0%
 thread-ring 
Nuitka28.9620.6714,196448  30% 32% 37% 27% †
Cython0.360.37920419  8% 3% 100% 8% †
 iobench 
Nuitka5.535.549,652367  92% 1% 9% 0% †
Cython0.020.03?366  33% 0% 100% 0% †
 binary-trees 
Nuitka2.680.7763,896706  86% 88% 95% 85%
No program
 pystone 
Nuitka0.190.19?2303  0% 0% 0% 100%
No program
 spectral-norm 
Nuitka0.130.13?394  0% 0% 100% 0%
No program
 fannkuch-redux 
Nuitka10.922.8756,9041069  96% 97% 98% 93%
No program
 mandelbrot 
Nuitka82.3021.2611,353,6923832  99% 98% 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