-
Notifications
You must be signed in to change notification settings - Fork 122
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
Addressing some feedback from new yarn source #233
Conversation
Thank you @jonabc, this looks good, I found one more issue but it's in review comments. |
Seems like the error which I previously reported is gone 👍 I tested the yarn source locally again and it seems to be working well. In comparison with the bundler source it takes quite a bit of time. See below. When I run
Thanks for your work @jonabc! Happy New Year 😃 |
Yea the yarn source is really slow compared to bundler due to the extra shell execution of The extra call is used to grab the description and homepage. The description isn't as important, but giving proper attribution for the homepage might be? Not sure TBH |
Thanks for the info @jonabc. I haven't dug into details and code, but my first thought is "can we avoid calling |
@sergey-alekseev good idea! That would require deeper changes than would make sense to include in this PR though 😞. Can you open an issue? I have a few ideas on how I would structure the change that I can add to the new issue, but if you wanted to give that change a shot and open a PR I would gladly review it 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
👋 @sergey-alekseev @krzysztof-pawlik-gat thanks for taking a look at the PR for the new yarn source!
I'd appreciate if you could also take a look at this PR and let me know if I'm addressing all of your comments and feedback 🙇
yarn list
andyarn info
by searching for thetree
andinspect
types, respectively.JSON.parse
outside the parallel handling fromParallel.map
yarn info
is slow. that call is still parallelized 👍