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

† 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.822.8210,2801443  5% 61% 1% 40%
Cython3.713.7211,1041334  5% 100% 1% 1%
 k-nucleotide 
Nuitka0.100.08?801  14% 0% 88% 25% †
Cython0.100.10?618  9% 0% 100% 0% †
 regex-dna 
Nuitka0.060.06?524  25% 100% 0% 0%
Cython0.060.06?524  100% 20% 17% 14%
 fibonacci 
Nuitka0.690.6910,556182  4% 0% 1% 99%
Cython0.680.689,228184  4% 0% 100% 0%
 jsonbench 
Nuitka3.423.4313,384322  5% 63% 1% 38%
Cython3.283.2812,648323  5% 0% 0% 100%
 chameneos-redux 
Nuitka341.83175.2210,1081191  46% 39% 46% 45%
Cython333.96165.088,5281203  48% 41% 47% 46%
 templates 
Nuitka1.111.1220,124322  5% 100% 1% 2%
Cython1.041.0519,852328  7% 3% 5% 100%
 richards 
Nuitka0.790.799,8522434  9% 3% 100% 0%
Cython0.710.738,5682467  55% 1% 1% 49%
 pidigits 
Nuitka0.040.04?379  100% 0% 0% 20%
Cython0.030.03?349  100% 0% 0% 0%
 fasta 
Nuitka8.824.29106,0962016  49% 64% 62% 38% †
Cython3.423.438,752945  5% 0% 1% 100% †
 reverse-complement 
Nuitka0.030.03?878  25% 80% 0% 0% †
Cython0.030.03?458  33% 0% 75% 33% †
 fasta-redux 
Nuitka0.250.257281115  4% 0% 4% 100%
Cython0.140.14?1169  8% 100% 0% 0%
 n-body 
Nuitka41.7441.779,7361315  5% 1% 100% 0%
Cython11.5811.988,5681392  76% 1% 26% 0%
 fib50 
Nuitka4.894.899,840136  5% 1% 100% 0%
Cython0.770.778,548159  5% 3% 99% 0%
 thread-ring 
Nuitka33.6824.2214,168448  28% 34% 21% 40% †
Cython0.360.37920419  8% 3% 100% 8% †
 iobench 
Nuitka5.875.889,856367  5% 0% 100% 0% †
Cython0.020.03?366  33% 0% 100% 0% †
 binary-trees 
Nuitka2.700.8158,884741  85% 84% 88% 84%
No program
 fannkuch-redux 
Nuitka11.763.0550,776894  98% 99% 97% 98%
No program
 spectral-norm 
Nuitka0.150.18?394  100% 0% 0% 0%
No program
 mandelbrot
   No programs
 binary-trees-redux
   No programs
 pystone
   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