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
 binary-trees1/2931/67±
 spectral-norm †1/12 ±
 templates †1/3 ±
 mandelbrot1/2 ±
 iobench †1/2 ±
 n-body †1/2 ±
 fib50 † ±
 Nuitka used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/2931/2931/41/21/2±

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 binary-trees 
Nuitka1.060.222,304741  70% 62% 59% 59% 59% 82% 59% 55%
Numba357.8863.59154,632734  73% 70% 76% 94% 76% 74% 69% 75%
 spectral-norm 
Nuitka0.100.11?394  8% 0% 91% 0% 0% 0% 0% 0% †
Numba1.311.34131,484416  15% 9% 10% 8% 8% 9% 13% 99% †
 templates 
Nuitka0.630.6319,200322  3% 100% 0% 0% 2% 3% 2% 0% †
Numba1.621.64121,232344  24% 19% 99% 23% 24% 24% 26% 19% †
 mandelbrot 
Nuitka36.894.88300,6403852  100% 95% 97% 94% 94% 95% 95% 95%
Numba61.518.68133,9603886  94% 91% 96% 93% 93% 98% 92% 95%
 iobench 
Nuitka2.752.7611,008367  100% 0% 0% 0% 0% 0% 1% 0% †
Numba4.864.88131,784400  37% 7% 7% 9% 61% 5% 16% 4% †
 n-body 
Nuitka27.0927.1011,1361315  2% 1% 0% 0% 1% 0% 100% 0% †
Numba42.5942.63148,1161347  30% 67% 10% 9% 37% 16% 10% 15% †
 fib50 
Nuitka2.922.9211,136136  2% 1% 1% 1% 100% 0% 0% 0% †
Numba1.471.48119,832165  15% 14% 8% 4% 5% 13% 10% 99% †
 fasta 
Nuitka5.592.5972,2242016  69% 14% 2% 63% 38% 7% 23% 5%
No program
 richards 
Nuitka0.580.5811,2642434  2% 2% 0% 0% 2% 2% 100% 0%
No program
 reverse-complement 
Nuitka0.030.03?458  0% 0% 0% 0% 0% 0% 100% 0%
No program
 regex-dna 
Nuitka0.040.05?524  17% 0% 0% 0% 0% 100% 0% 0%
No program
 pystone 
Nuitka0.150.15?2300  7% 6% 6% 0% 0% 100% 0% 0%
No program
 pidigits 
Nuitka0.030.03?379  0% 75% 0% 0% 0% 0% 0% 0%
No program
 meteor-contest 
Nuitka1.351.3511,3921443  1% 0% 0% 0% 1% 100% 0% 0%
No program
 chameneos-redux 
Nuitka188.65274.4015,2681191  8% 5% 5% 5% 9% 8% 8% 9%
No program
 k-nucleotide 
Nuitka0.080.06?801  14% 71% 14% 17% 0% 17% 17% 0%
No program
 jsonbench 
Nuitka2.162.1614,896322  0% 0% 0% 100% 0% 0% 0% 0%
No program
 fibonacci 
No program
Numba1.571.59120,220164  38% 28% 31% 98% 41% 51% 31% 52%
 fannkuch-redux 
Nuitka4.480.62102,152894  92% 90% 98% 89% 92% 84% 92% 90%
No program
 thread-ring 
Nuitka0.350.351,152406  17% 3% 3% 0% 100% 14% 16% 9%
No program
 fasta-redux 
Nuitka0.190.19?1115  5% 0% 100% 0% 0% 0% 0% 0%
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 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