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 2 1.071.0715,876307  0% 2% 2% 99%
1.0Python 2 1.071.0915,884307  1% 99% 1% 0%
1.0Python 2 1.091.0915,876307  4% 4% 2% 100%
1.1Python 3 1.151.1521,136322  66% 1% 34% 2%
1.1Cython 1.151.1620,948328  3% 100% 4% 1%
1.1Cython 1.161.1621,148328  100% 0% 3% 0%
1.1Python 3 1.161.1621,100322  1% 3% 100% 2%
1.1Python 3 1.161.1721,200322  81% 21% 1% 3%
1.1Python development version 1.181.1819,264322  99% 0% 1% 0%
1.1Python development version 1.181.1919,228322  0% 100% 1% 1%
1.1Cython 1.171.1920,544328  92% 2% 2% 9%
1.1Python development version 1.181.2019,216322  94% 3% 2% 2%
1.1Nuitka 1.211.2121,064322  100% 1% 2% 5%
1.1Nuitka 1.211.2221,012322  0% 2% 99% 2%
1.1Nuitka 1.221.2220,964322  1% 79% 2% 24%
1.4Numba 1.461.4677,500335  1% 5% 0% 95%
1.4Numba 1.461.4677,320335  1% 0% 0% 99%
1.4Numba 1.481.5077,492335  88% 11% 1% 2%
1.7Pyston 1.851.8558,360307  0% 100% 1% 1%
1.7Pyston 1.851.8658,092307  0% 1% 0% 100%
1.7Pyston 1.861.8758,356307  2% 5% 91% 3%
2.4PyPy 2 2.572.6095,672307  6% 99% 1% 1%
2.5PyPy 2 2.642.6795,108307  5% 1% 1% 99%
2.5PyPy 2 2.642.6894,392307  6% 93% 1% 8%
3.1PyPy 3 3.303.33108,328322  6% 1% 1% 99%
3.1PyPy 3 3.293.34108,424322  18% 86% 2% 1%
3.1PyPy 3 3.323.34108,316322  5% 1% 2% 98%
missing benchmark programs
Jython No program
IronPython No program
Shedskin No program
MicroPython No program
Grumpy No program
Graal No program

 templates benchmark : Render Jinja2 template

 

Revised BSD license

  Home   Conclusions   License   Play