Open tiye opened 11 years ago
@jiyinyiyong - Yes I am also agree with you. Same benchmark result on my machine is as follows:
(my machine Macbook Pro 7,1 Mid 2010, Core 2 Duo 8GB RAM) In my case 1. Gaiken 2. Fest 3. doT I ran test 2 times and difference between them is as follows:
--- from_file +++ ECT @@ -1,74 +1,74 @@ ECT
Total : 6475ms
Dust
Total : 8484ms
Hogan.js
Total : 9083ms
Gaikan
Total : 3244ms
Fest
Total : 3398ms
EJS without with
Total : 9726ms
doT
Total : 4401ms
Swig
Total : 10648ms
Underscore
Total : 7612ms
EJS
Total : 15142ms
Eco
Total : 13668ms
Handlebars.js
Total : 9651ms
Jade without with
Total : 16265ms
CoffeeKup
Total : 17736ms
Jade
Is it possible to test it on browser?
@bharatpatil I think you should mark markup your result first, it's hard to read :-)
Jade
Escaped : 21922ms
Unescaped : 11340ms
Total : 33262ms
Escaped : 21938ms
Unescaped : 11806ms
Total : 33744ms
And it sould be like this in a terminal: https://github.com/baryshev/template-benchmark#results
Our team uses handlebars and is comparing several template engines for performance and. As I got from the docs that Handlebars and doT are very fast when they are precompiled. I think this case should be added into consideration.