Python Interpreters Benchmarks
x64 ArchLinux : AMD® Ryzen 7 4700U®

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 Numba 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 Numba 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
 Nuitka used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)       

± 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 Numba program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Nuitka0.030.03?379  25% 0% 0% 0% 0% 0% 0% 100%
No program
 pystone 
Nuitka0.140.14?2300  24% 7% 7% 7% 7% 0% 100% 13%
No program
 meteor-contest 
Nuitka1.851.8511,6161443  8% 6% 99% 4% 5% 7% 11% 7%
No program
 n-body 
Nuitka29.9830.0211,0761315  46% 7% 5% 4% 61% 5% 6% 5%
No program
 templates 
Nuitka0.740.7417,564322  1% 4% 1% 4% 3% 3% 3% 100%
No program
 chameneos-redux 
Nuitka301.49225.0710,8481191  18% 15% 15% 15% 21% 15% 14% 14%
No program
 iobench 
Nuitka2.702.7010,824367  12% 4% 6% 7% 6% 7% 15% 91%
No program
 richards 
Nuitka0.530.5311,1042434  7% 6% 8% 6% 100% 2% 4% 2%
No program
 fib50 
Nuitka3.353.3910,844136  100% 2% 3% 4% 4% 6% 5% 5%
No program
 fibonacci 
Nuitka0.570.5711,664182  50% 33% 32% 39% 90% 34% 42% 20%
No program
 fasta-redux 
Nuitka0.200.20?1115  14% 5% 0% 5% 10% 100% 10% 10%
No program
 fasta 
Nuitka6.773.1314,5402016  37% 39% 81% 25% 30% 18% 25% 27%
No program
 fannkuch-redux 
Nuitka5.270.7714,368894  91% 88% 89% 99% 91% 91% 93% 91%
No program
 regex-dna 
Nuitka0.050.05?524  0% 0% 0% 0% 0% 83% 0% 0%
No program
 jsonbench 
Nuitka2.362.3614,480322  9% 6% 3% 3% 3% 4% 100% 4%
No program
 reverse-complement 
Nuitka0.030.03?878  0% 0% 100% 0% 0% 0% 0% 0%
No program
 k-nucleotide 
Nuitka0.090.07?801  14% 0% 100% 14% 14% 14% 0% 0%
No program
 spectral-norm 
Nuitka0.120.14?394  0% 0% 0% 0% 8% 0% 77% 21%
No program
 mandelbrot 
Nuitka53.867.2662,6883852  96% 97% 97% 98% 97% 98% 97% 98%
No program
 thread-ring 
Nuitka45.9241.2715,192448  9% 9% 9% 10% 11% 11% 11% 11%
No program
 binary-trees 
Nuitka1.120.241,444741  88% 56% 54% 58% 58% 58% 52% 57%
No program
 binary-trees-redux
   No programs

 4 : Are there other Nuitka programs for these benchmarks?

Remember - those are just the fastest Nuitka and Numba 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 Numba 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