Express by Examples

Express Template Engines

Default template engine for Express is JAde.

The list of other template engines:

 

Rendering performance test:

ECT
  Escaped   : 2180ms
  Unescaped : 133ms
  Total     : 2313ms

Dust
  Escaped   : 2547ms
  Unescaped : 363ms
  Total     : 2910ms

Hogan.js
  Escaped   : 3252ms
  Unescaped : 758ms
  Total     : 4010ms

Gaikan
  Escaped   : 4288ms
  Unescaped : 85ms
  Total     : 4373ms

Fest
  Escaped   : 4179ms
  Unescaped : 265ms
  Total     : 4444ms

EJS without `with`
  Escaped   : 4526ms
  Unescaped : 485ms
  Total     : 5011ms

doT
  Escaped   : 5329ms
  Unescaped : 82ms
  Total     : 5411ms

Swig
  Escaped   : 5020ms
  Unescaped : 407ms
  Total     : 5427ms

Underscore
  Escaped   : 5775ms
  Unescaped : 2486ms
  Total     : 8261ms

Eco
  Escaped   : 8512ms
  Unescaped : 991ms
  Total     : 9503ms

EJS
  Escaped   : 6316ms
  Unescaped : 2734ms
  Total     : 9050ms

Handlebars.js
  Escaped   : 7815ms
  Unescaped : 2573ms
  Total     : 10388ms

Jade without `with`
  Escaped   : 8566ms
  Unescaped : 2982ms
  Total     : 11548ms

CoffeeKup
  Escaped   : 4968ms
  Unescaped : 9983ms
  Total     : 14951ms

Jade
  Escaped   : 18330ms
  Unescaped : 12095ms
  Total     : 30425ms




Thanks to https://github.com/baryshev/template-benchmark