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.041.0516,244307  100% 1% 1% 1%
1.0Python 2 1.051.0516,332307  0% 0% 0% 100%
1.0Python 2 1.051.0616,260307  0% 2% 0% 99%
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.2Python development version 1.181.2019,216322  94% 3% 2% 2%
1.2Python 3 1.231.2321,076322  0% 0% 2% 98%
1.2Python 3 1.241.2421,180322  0% 0% 1% 100%
1.2Cython 1.241.2421,220328  1% 69% 1% 32%
1.2Cython 1.241.2421,324328  100% 1% 0% 2%
1.2Python 3 1.251.2521,224322  100% 1% 0% 0%
1.2Cython 1.251.2620,828328  0% 0% 2% 98%
1.2Nuitka 1.271.2721,668322  1% 0% 100% 0%
1.2Nuitka 1.271.2721,276322  1% 0% 1% 99%
1.2Nuitka 1.291.2921,540322  100% 1% 1% 0%
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.8Pyston 1.851.8558,360307  0% 100% 1% 1%
1.8Pyston 1.851.8658,092307  0% 1% 0% 100%
1.8Pyston 1.861.8758,356307  2% 5% 91% 3%
2.4PyPy 2 2.542.5490,444307  100% 0% 0% 0%
2.5PyPy 2 2.562.5691,436307  0% 44% 0% 56%
2.5PyPy 2 2.572.5989,252307  1% 97% 1% 1%
2.8PyPy 3 2.942.9590,880322  99% 1% 0% 1%
2.9PyPy 3 2.992.9995,628322  0% 17% 0% 83%
2.9PyPy 3 3.013.0191,780322  100% 0% 0% 0%
missing benchmark programs
Jython No program
IronPython No program
Shedskin No program
MicroPython No program
Grumpy No program

 templates benchmark : Render Jinja2 template

 

Revised BSD license

  Home   Conclusions   License   Play