ECT does not have compilation as separate operation. Compilation occurs 
during first render of each template. Compiled functions are cached by 
template engine and can be removed automaticaly after template changed 
(with `watch` option).
I just tested first render time on serveral templates. My hardware core i5 
2.4gz, 8gb ram. OS: Ubuntu 12.04

400B - 28ms
4Kb -100ms
16Kb - 280ms

Overall compilation time is comparable with other engines because it have 
not fundamental differences here.
 
среда, 28 ноября 2012 г., 13:44:26 UTC+4 пользователь Martin Heidegger 
написал:
>
> I do agree that a event based system would be nice to have, however: that 
> doesn't mean that a fast compiling template engine doesn't have its merits.
>
> My question about ECT: How good is the "compilation speed" ? In some cases 
> I want fast start-up speed too and I wonder how well ECT performs on that 
> regard.
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to