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

 templates benchmark N=1,000

Each chart bar shows how many times slower, one ↓ templates program was, compared to the fastest program.

These are not the only programs that could be written. These are not the only compilers and interpreters. These are not the only programming languages.

Column × shows how many times more each program used compared to the benchmark program that used least.

    sort sortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Python development version 0.560.5618,356322  2% 96% 2% 0% 2% 0% 2% 0%
1.0Python 3 0.570.5820,176322  100% 0% 0% 2% 0% 3% 0% 2%
1.1Nuitka 0.630.6319,200322  3% 100% 0% 0% 2% 3% 2% 0%
1.2Cython 0.640.6518,396328  2% 2% 2% 0% 3% 0% 100% 2%
2.9Numba 1.621.64121,232344  24% 19% 99% 23% 24% 24% 26% 19%
4.3PyPy 2 2.372.4198,384307  0% 6% 94% 0% 0% 0% 1% 0%
missing benchmark programs
Python 2 No program
PyPy 3 No program
Jython No program
IronPython No program
Shedskin No program
Pyston No program
MicroPython No program
Grumpy No program
Graal No program
RustPython No program

 templates benchmark : Render Jinja2 template

Revised BSD license

  Home   Conclusions   License   Play