Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mad/ejs compile time vs underscore template ? #149

Closed
honwsn opened this issue Apr 8, 2016 · 4 comments
Closed

mad/ejs compile time vs underscore template ? #149

honwsn opened this issue Apr 8, 2016 · 4 comments

Comments

@honwsn
Copy link

honwsn commented Apr 8, 2016

mad/ejs compile time vs underscore template ?

did have some test data about this?

@honwsn
Copy link
Author

honwsn commented Apr 8, 2016

i've test it for no cache enviroments
ejs: 211.600ms
underscore: 123.976ms

underscore template is better. 👍

@honwsn
Copy link
Author

honwsn commented Apr 8, 2016

It's too bad 。。

@RyanZim
Copy link
Collaborator

RyanZim commented Apr 8, 2016

EJS can be a bit slow. If you have ideas how to make it faster, please share them. As @mde said once:

Give us a PR...I'll be happy to merge it. This is how open source works, folks.

BTW, #49 is @TimothyGu's issue for making EJS faster. You are welcome to volunteer to contribute there.

@TimothyGu
Copy link
Collaborator

underscore template is better.

Underscore and EJS are different things, created for different purposes. Just because one is faster than the other in one benchmark doesn't mean one is better than the other.

Just wanted to make this clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants