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.551.5616,564307  30% 5% 71% 3%
1.0Python 2 1.591.5916,576307  6% 4% 4% 100%
1.0Cython 1.591.6015,548328  3% 4% 2% 100%
1.0Python 2 1.611.6216,812307  89% 11% 17% 5%
1.1Cython 1.651.6515,552328  7% 7% 4% 100%
1.1Nuitka 1.671.6726,292322  1% 0% 100% 1%
1.1Cython 1.671.6715,508328  4% 12% 100% 5%
1.1Nuitka 1.681.6826,352322  5% 100% 0% 1%
1.1Python development version 1.701.7116,088322  11% 100% 5% 2%
1.1Nuitka 1.681.7225,380322  0% 96% 5% 5%
1.1Python development version 1.731.7416,176322  59% 51% 5% 3%
1.1Python development version 1.751.7916,424322  93% 14% 7% 5%
1.2Python 3 1.891.9123,056322  27% 21% 90% 23%
1.3Python 3 1.951.9522,628322  82% 23% 21% 44%
1.3Python 3 1.961.9721,256322  20% 27% 100% 25%
1.3Pyston 2.082.0951,728307  2% 4% 3% 100%
1.4Pyston 2.142.1552,216307  98% 4% 10% 1%
2.1PyPy 2 3.363.3690,648307  2% 0% 100% 0%
2.2PyPy 2 3.483.4891,356307  2% 100% 1% 1%
2.2PyPy 2 3.453.4891,444307  30% 5% 67% 1%
2.6Pyston 3.994.0071,980307  10% 92% 6% 6%
7.4IronPython 12.4311.64148,748307  14% 14% 73% 27%
7.7IronPython 12.7712.06156,200307  13% 16% 24% 74%
8.1IronPython 13.1412.60156,660307  67% 26% 43% 20%
12Jython 47.1519.25378,172307  67% 64% 66% 59%
13Jython 47.9419.78385,008307  60% 64% 64% 64%
14Jython 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