-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Performance issues after Babel 6 upgrade #351
Comments
Confirmed.
|
If I run
|
Babel 6 is a lot more modular, so that might be where all the overhead comes from. Using npm@3 would also be faster (since it dedupes by default). |
Then we are stuck with initial delay on every test run. Not good. |
I think the solution to this is to cache babel's output. There already was some development in that direction in #189, but left incomplete. My proposal is to cache transformed code based by md5 of original source code. That way, we don't even need to This should improve performance. |
That is basically a requirement of Babel 6.
I just finished implementing much the same for |
Seems like #349 will take good amount of time. I can implement cache now and send a quick PR, so that we can do a release with babel 6 within next few days. |
This can be closed now, right? |
Yep, #352 got it covered. |
Since babel 6 upgrade the performance is seriously ****ed up. Using master branch and the following test file:
Running it for like 10th time and getting the same results.
Would be great if someone else confirmed this.
The text was updated successfully, but these errors were encountered: