Python Interpreters Benchmarks
x64 ArchLinux : Intel® i5-7200U®

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

† 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.732.7410,5761443  26% 17% 100% 20% †
Cython3.613.7811,1521334  100% 2% 2% 2% †
 k-nucleotide 
Nuitka0.090.07?801  17% 17% 0% 88% †
Cython0.090.09?618  0% 11% 100% 0% †
 chameneos-redux 
Nuitka340.93170.2010,5161191  49% 45% 46% 45%
Cython337.11166.108,4601203  50% 45% 47% 44%
 fibonacci 
Nuitka0.680.7110,488182  100% 3% 0% 0%
Cython0.670.689,256184  6% 3% 99% 3%
 jsonbench 
Nuitka3.473.4813,564322  5% 1% 100% 2%
Cython3.133.2811,844323  100% 1% 2% 2%
 pystone 
Nuitka0.180.19?2300  100% 6% 15% 15%
Cython0.130.18?2401  89% 89% 100% 100%
 regex-dna 
Nuitka0.060.06?524  0% 100% 0% 0%
Cython0.050.05?524  0% 0% 100% 0%
 templates 
Nuitka1.021.0716,724322  100% 1% 0% 0%
Cython0.950.9616,284328  9% 95% 2% 4%
 fasta 
Nuitka4.164.169,7601698  5% 1% 100% 2%
Cython3.343.498,652945  100% 2% 2% 1%
 richards 
Nuitka0.710.759,5562434  100% 0% 0% 0%
Cython0.600.608,4482467  7% 100% 2% 0%
 reverse-complement 
Nuitka0.030.03?878  33% 100% 0% 0% †
Cython0.020.02?458  0% 100% 0% 0% †
 pidigits 
Nuitka0.040.04?379  0% 0% 100% 0% †
Cython0.030.03?349  0% 0% 25% 100% †
 fasta-redux 
Nuitka0.250.251,5041115  12% 100% 8% 0%
Cython0.170.17?1169  11% 100% 0% 6%
 n-body 
Nuitka36.3336.369,5121315  6% 100% 1% 1%
Cython10.7711.258,6161392  100% 1% 2% 1%
 fib50 
Nuitka4.534.549,564136  6% 2% 100% 1%
Cython0.650.688,328159  100% 3% 1% 1%
 thread-ring 
Nuitka33.5924.3014,372448  31% 36% 23% 35% †
Cython0.350.351,708419  6% 3% 100% 3% †
 iobench 
Nuitka5.635.649,452367  6% 1% 100% 2%
Cython0.020.02?366  0% 0% 0% 100%
 binary-trees 
Nuitka2.300.6916,612741  78% 83% 93% 82%
No program
 fannkuch-redux 
Nuitka10.122.6913,624894  98% 93% 98% 94%
No program
 spectral-norm 
Nuitka0.140.15?394  100% 0% 0% 0%
No program
 mandelbrot
   No programs
 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