0

So, I have windows on my machine, when I run composer commands; for this we will install a cached version of laravel, it is much much slower than a vm on the same machine with ubuntu (1/6 of the specs of my machine)

Windows: (I limited it to 25 seconds)

enter image description here

Ubuntu

enter image description here

As you can see, the ubuntu version is at least 4/5 times faster, I have even disabled windows defender on my machine, which sped it up, but nowhere near the speed of what it should be, so my question is, what can be causing this, and do you have an recomendations to fix it?

  • 1
    It is well known that the I/O performance is slower in WSL. Because the inststruction has to go through several layers. There is a thread you can join, here github.com/Microsoft/WSL/issues/873. Did you see any CPU and RAM high usage during that process? If yes then kill those processes to free up some resource. – Biswapriyo Sep 1 '18 at 4:04

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.