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 3 1.381.3916,080322  1% 99% 0% 1%
1.0Python 3 1.391.4015,944322  6% 0% 0% 99%
1.0Python 3 1.441.4416,080322  6% 1% 99% 0%
1.1Nuitka 1.531.5320,732322  1% 0% 1% 100%
1.1Nuitka 1.551.5520,968322  2% 99% 5% 1%
1.1Nuitka 1.541.5620,864322  100% 4% 1% 3%
1.1Python 2 1.551.5616,564307  30% 5% 71% 3%
1.1Python 2 1.591.5916,576307  6% 4% 4% 100%
1.1Cython 1.591.6015,548328  3% 4% 2% 100%
1.2Python 2 1.611.6216,812307  89% 11% 17% 5%
1.2Cython 1.651.6515,552328  7% 7% 4% 100%
1.2Cython 1.671.6715,508328  4% 12% 100% 5%
1.2Python development version 1.701.7116,088322  11% 100% 5% 2%
1.3Python development version 1.731.7416,176322  59% 51% 5% 3%
1.3Python development version 1.751.7916,424322  93% 14% 7% 5%
1.5Pyston 2.082.0951,728307  2% 4% 3% 100%
1.5Pyston 2.142.1552,216307  98% 4% 10% 1%
2.3PyPy 2 3.153.1592,420307  0% 100% 1% 1%
2.3PyPy 2 3.183.1991,620307  3% 0% 100% 4%
2.3PyPy 2 3.213.2191,500307  1% 100% 0% 4%
2.9Pyston 3.994.0071,980307  10% 92% 6% 6%
8.4IronPython 12.4311.64148,748307  14% 14% 73% 27%
8.7IronPython 12.7712.06156,200307  13% 16% 24% 74%
9.1IronPython 13.1412.60156,660307  67% 26% 43% 20%
14Jython 47.1519.25378,172307  67% 64% 66% 59%
14Jython 47.9419.78385,008307  60% 64% 64% 64%
15Jython 52.8821.40379,632307  77% 68% 76% 67%
missing benchmark programs
PyPy 3 No program
Shedskin No program
Numba No program
MicroPython No program
Grumpy No program

 templates benchmark : Render Jinja2 template

 

Revised BSD license

  Home   Conclusions   License   Play