We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Since I switched to yarn berry, I noticed that we had a noticeable slowdown when running yarn exec commands:
yarn exec
For instance here is a comparison between yarn node and node -r for logging "red" in red with chalk:
yarn node
node -r
(I have a lot of modules in my package but even with an empty package.json, we have the same issue, see reproduction section)
Yarn node
We can notice that there is a huge slowdown when running through yarn
yarn
To Reproduce
mkdir test cd test yarn init -y yarn set version berry time yarn node -e "console.log('red')" time node -r ./.pnp.js -e "console.log('red')"
Screenshots
Environment if relevant (please complete the following information):
v15.14.0
v12.16.1
2.4.0-git.20210210.hash-cb8c8d68
2.4.1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Master already contains various improvements. Likely duplicate of #2560 (comment)
Sorry, something went wrong.
Thanks, I'll try the new master!
I don't think master improved the situation that much:
yarn node -e "console.log('a')" still takes more than 1s:
yarn node -e "console.log('a')"
and I'm running yarn 3-rc2
I'll close this as a duplicate of #2575 since yarn node goes through the same process as running scripts
No branches or pull requests
Describe the bug
Since I switched to yarn berry, I noticed that we had a noticeable slowdown when running
yarn exec
commands:For instance here is a comparison between
yarn node
andnode -r
for logging "red" in red with chalk:(I have a lot of modules in my package but even with an empty package.json, we have the same issue, see reproduction section)
Yarn node
node -r
We can notice that there is a huge slowdown when running through
yarn
To Reproduce
Reproduction
Screenshots
Environment if relevant (please complete the following information):
v15.14.0
andv12.16.1
2.4.0-git.20210210.hash-cb8c8d68
and2.4.1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: