-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
version 3 is slower than version 2 #973
Comments
Why are you including |
this is my all code,you can try it in the chrome console with different version
|
You should just compile the template once up front. Handlebars is primarily focused with runtime performance of the compiled template, not with fast compilation. |
Seeing some regressions in the nightly tests: v3
v2:
https://travis-ci.org/wycats/handlebars.js/builds/34148993#L531 Note sure where exactly this regressed, but it seems to impact all aspects of exec. |
(Making the assumption that the travis VMs are comparable in these tests, which might be unsafe) |
Avoid deoptimizations in v8 due to the duct type check on string instances. Partial fix for #973
There were a number of changes that were introduced that caused reduced v8 performance. One of these I was able to mitigate, but the others I was not able to without removing the feature that they are targeting or introducing more code bloat.
|
Released in 3.0.1 |
version 2
The text was updated successfully, but these errors were encountered: