templates benchmark N=1,000

Each chart bar shows how many times more Memory, one ↓ templates program used, compared to the program that used least Memory.

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.

    sortsort sort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Python 2 1.091.0915,876307  4% 4% 2% 100%
1.0Python 2 1.071.0715,876307  0% 2% 2% 99%
1.0Python 2 1.071.0915,884307  1% 99% 1% 0%
1.2Cython 1.051.0519,840328  0% 99% 1% 1%
1.3Cython 1.051.0919,888328  95% 4% 3% 3%
1.3Cython 1.051.0619,920328  2% 100% 3% 3%
1.3Python 3 1.141.1420,024322  45% 11% 58% 1%
1.3Python 3 1.141.1520,084322  2% 10% 100% 4%
1.3Python 3 1.131.1320,156322  1% 11% 100% 1%
1.3Nuitka 1.121.1720,204322  4% 93% 4% 3%
1.3Nuitka 1.101.1120,236322  100% 1% 0% 2%
1.3Nuitka 1.141.1420,320322  0% 100% 1% 2%
3.7Pyston 1.851.8658,092307  0% 1% 0% 100%
3.7Pyston 1.861.8758,356307  2% 5% 91% 3%
3.7Pyston 1.851.8558,360307  0% 100% 1% 1%
4.9Numba 1.461.4677,320335  1% 0% 0% 99%
4.9Numba 1.481.5077,492335  88% 11% 1% 2%
4.9Numba 1.461.4677,500335  1% 5% 0% 95%
6.1PyPy 2 3.153.2496,596307  17% 50% 13% 66%
6.1PyPy 2 2.902.9397,532307  100% 13% 7% 7%
6.2PyPy 2 2.903.0698,336307  7% 98% 9% 4%
7.1PyPy 3 4.134.16112,664322  2% 10% 100% 1%
7.1PyPy 3 4.154.19112,752322  95% 14% 2% 2%
7.2PyPy 3 4.104.12113,920322  6% 9% 98% 1%
missing benchmark programs
Python development version No program
Jython No program
IronPython No program
Shedskin 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