-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
babel-core npm install extremely slow (T7563) #4460
Comments
slow-deps uses I think the best we can do atm the moment is remove babel-runtime when it's not needed, and maybe check if there's circular deps. Not sure we want to do bundleDeps @nolanlawson |
I haven't tried bundleDeps myself, but you might ping Dan Abramov since he used it for TBH it might not buy you much though. Based on the output above, Also yeah slow-deps measures uncached times and doesn't count de-duping, so it's a rough measure at best. |
|
With nolan's suggestion I ran: https://gist.github.com/hzoo/61a55fbe087f8cda98b8788a4b63dcc4. Also reading the OP again, it has nothing to do with compilation because babel doesn't compile on install |
Closing this as it would be an ongoing issue - I've already tried looking at deps for a long time now (without much luck) and #5118. Hopefully that is a quick win because otherwise it hasn't been a fruitful use of time |
Bug information
Description
Using slow-deps package you can see that using babel-core takes almost 3 min to install. That seems like a pretty long space of time. I don't know if its due to compilation or http requests. but it seems ungood.
output from my app
Analyzing 90 dependencies...
[====================] 100% 0.0s
| Dependency | Time | Size | # Deps |
| babel-core | 2m 55.9s | 5.9 MB | 53 |
| @kadira/storybook | 1m 5.2s | 43 MB | 357 |
| gulp-imagemin | 1m 0.7s | 9.5 MB | 299 |
| reactcards | 57.1s | 37 MB | 381 |
The text was updated successfully, but these errors were encountered: