Node.JS template engines benchmark - Site
- CoffeeKup v0.3.1 (website)
- doT v1.1.2 (website)
- Dust LinkedIn v2.7.5 (website)
- Eco v1.1.0-rc-3
- ECT v0.5.9 (website)
- EJS v2.5.8 (website)
- Fest v0.12.1
- Gaikan v2.0.2
- Handlebars.js v4.0.11 (website)
- Hogan.js v3.0.2 (website)
- Jade v1.11.0 (website)
- Marko v4.9.6 (website)
- Nunjucks v3.1.2 (website)
- Pug v2.0.3 (website)
- Swig v1.4.2
- Underscore v1.8.3 (website)
MacBook Pro (Retina, 15-inch, Mid 2014)
- CPU: 2,2 GHz Intel Core i7
- Number of processors: 1
- Total number of cores: 4
- L2 Cache (per core): 256 KB
- L3 Cache: 6 MB
- Memory: 16 GB 1600 MHz DDR3
- Graphics: Intel Iris Pro 1536 MB
- OS: macOS High Sierra (10.13.4)
- Ruby version: 2.5.1
- Node.JS version: 9.11.1
- Rendering 100.000x
Results: Comparative Table
git clone https://github.com/mauricionobrega/nodejs-template-benchmark.git
cd nodejs-template-benchmark
npm i && npm test
- https://www.slant.co/topics/51/~best-javascript-templating-engines
- https://garann.github.io/template-chooser/
- https://developer.ibm.com/node/2014/11/11/compare-javascript-templates-jade-mustache-dust/
- https://en.wikipedia.org/wiki/Comparison_of_web_template_engines
- https://github.com/marko-js/templating-benchmarks#templating-benchmarks
- http://paularmstrong.github.io/node-templates/benchmarks.html
- https://github.com/tj/consolidate.js
- https://github.com/baryshev/template-benchmark
Based on template-benchmark. Thanks Vadim Baryshev.