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
Attempt at reproduction of yarn performance issue since 1.9.2 #6584
Comments
Just to be sure - the problems only appear when using Docker, is that correct? |
Also, I'm not sure I understand your benchmark results. From what I see it looks good, right? 183s vs 154s and 130s vs 27s in 1.10. |
Sorry I mixed up the versions. It should have been:
I'd be happy if someone else could confirm it though! |
We have also experience this issue while running yarn in the |
I'm experiencing the same issue using the
until the next line. |
Any update on this? I am experiencing pretty much what @oreporan describes with |
I seem to still have the same issue in Yarn 1.22, it hangs a long time after installing and building packages. |
We have also same problem in node;14.19.0 docker image |
#6177 has just been closed and this is an attempt to reproduce the performance issues I've been experiencing when using
yarn
with Docker and a bind-mounted volume.I created a simple repository that can be cloned: https://github.com/such/yarn-test.
This is simply the result of
create-react-app
plus some docker files.The yarn version can be changed in the
Dockerfile
. I have been comparing1.7.0
and1.10.1
.An
entrypoint
script runsyarn install
.To reproduce:
According to my benchmark:
1.7.0
:Initial install: 183s
New dependency: 130s
1.10.1
:Initial install: 154s
New dependency: 27s
Note:
The performance issue does seem to exist without a bind-mounted volume. This can be tested by adding
ADD . /app
in theDockerfile
and removing the volume from thedocker run
command.The text was updated successfully, but these errors were encountered: