-
Notifications
You must be signed in to change notification settings - Fork 838
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
moment-timezone performance issues #44
Comments
Agree that this library is super awesome, but do wish it was faster |
I don't think it's made it into a release yet, so have a look at #39 - it should help a lot here. |
@icambron Sweeeet. That made a huge difference! Thanks @caseywebdev! |
👍 ran into the same thing, memoization helped a lot. |
I'm going to leave this ticket open until the release is out. |
Would it be possible to make a release with the change from #39 as 0.0.4? It's a major improvement, and I'd love to be able to get moment-timezone from npm rather than building from source. |
See #82 as well. The speed improvements with the rewrite are pretty significant. These are the times for running all the unit tests.
|
This is released in See the performance gains here. http://jsperf.com/moment-timezone-0-1-0/3 |
Hello,
Thanks for this library it really rocks. One issue I have with it though is performance. When using only moment and manipuilating dates, it is very fast. When adding timezone support it becomes much slower:
Is it something you can and are planning to solve, or is it due to having to do a lot of stuff on top of the native
Date
object and there is not much you can do about it?The text was updated successfully, but these errors were encountered: