- CoffeeKup v0.3.1 (website)
- doT v1.0.3 (website)
- Dust v1.2.1 (website)
- Eco v1.1.0-rc-3
- ECT v0.5.9 (website)
- EJS v1.0.0
- Fest v0.8.2
- Gaikan v2.0.2
- Handlebars.js v2.0.0 (website)
- Hogan.js v3.0.2 (website)
- Jade v1.9.2 (website)
- Slm v0.4.1
- Swig v1.4.2
- Underscore v1.8.3 (website)
- CPU: 2,7 GHz Intel Core i7
- OS: OS X 10.10
- io.js version: v2.0.0
Rendering 100000 templates:
Slm
Escaped : 1169ms
Unescaped : 46ms
Total : 1215ms
ECT
Escaped : 1202ms
Unescaped : 71ms
Total : 1273ms
Dust
Escaped : 1586ms
Unescaped : 293ms
Total : 1879ms
Hogan.js
Escaped : 1513ms
Unescaped : 205ms
Total : 1718ms
Gaikan
Escaped : 1419ms
Unescaped : 46ms
Total : 1465ms
Fest
Escaped : 1884ms
Unescaped : 199ms
Total : 2083ms
EJS without `with`
Escaped : 2567ms
Unescaped : 653ms
Total : 3220ms
doT
Escaped : 2267ms
Unescaped : 40ms
Total : 2307ms
Swig
Escaped : 3682ms
Unescaped : 689ms
Total : 4371ms
Underscore
Escaped : 2275ms
Unescaped : 1541ms
Total : 3816ms
EJS
Escaped : 5419ms
Unescaped : 2795ms
Total : 8214ms
Eco
Escaped : 3879ms
Unescaped : 793ms
Total : 4672ms
Handlebars.js
Escaped : 2227ms
Unescaped : 300ms
Total : 2527ms
Jade without `with`
Escaped : 2434ms
Unescaped : 679ms
Total : 3113ms
CoffeeKup
Escaped : 3960ms
Unescaped : 6202ms
Total : 10162ms
Jade
Escaped : 8085ms
Unescaped : 5389ms
Total : 13474ms
git clone git://github.com/baryshev/template-benchmark.git
cd template-benchmark
npm install
node ./benchmark.js