Timeline for Local craftCMS is running extremely slow on Windows with WSL2
Current License: CC BY-SA 4.0
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2022 at 19:23 | vote | accept | Álvaro Franz | ||
Feb 17, 2022 at 8:48 | answer | added | Álvaro Franz | timeline score: 2 | |
Feb 16, 2022 at 22:42 | comment | added | Matt Stein | Nobody has ever accused me of that @ÁlvaroFranz, but thank you and I’m glad that solved it for you! | |
Feb 16, 2022 at 19:31 | history | edited | Álvaro Franz | CC BY-SA 4.0 |
edited title
|
Feb 16, 2022 at 19:25 | comment | added | Álvaro Franz | @MattStein You sir are a genius. Thanks so much! That information has saved me. I will add an answer to this for others having the same issue in the future. Time is now less than 600ms, much better! | |
Feb 16, 2022 at 17:42 | comment | added | Matt Stein | Probably not @ÁlvaroFranz, assuming those values are proportional to your system. (More isn’t always better.) Not sure if you saw Nitro’s Windows notes but there’s some performance stuff in there as well. | |
Feb 16, 2022 at 13:08 | comment | added | Álvaro Franz | @MattStein - Thanks, my Docker setup has 10GB RAM and 4 CPUs, is there anything else I may have to add? | |
Feb 16, 2022 at 13:07 | history | edited | Álvaro Franz | CC BY-SA 4.0 |
added 110 characters in body
|
Feb 15, 2022 at 17:34 | history | edited | Matt Stein |
edited tags
|
|
Feb 15, 2022 at 17:33 | comment | added | Matt Stein | You may also need to do some Docker tuning if you haven’t already. | |
Feb 15, 2022 at 15:05 | history | edited | Álvaro Franz | CC BY-SA 4.0 |
added 202 characters in body
|
Feb 15, 2022 at 13:57 | comment | added | mike | I have always found Nitro too slow, so I switched to Lando which is fairly straight forward, easy to setup and a lot quicker then Nitro is. Now, 10-15 seconds per pageload is slow: even for Nitro. So I suspect it is something with Docker. Can you confirm this by running any other docker application? Have you given Dockere enough resources? Is WSL2 installed correctly? Something else I noticed with WSL2 when I still used to develop on Windows was that it gets slowed down A LOT by all virus scanners (also windows defender) Maybe try playing with that? | |
Feb 15, 2022 at 12:00 | comment | added | Álvaro Franz | @JamesSmith - Thanks, just updated with a screenshot. No plugin installed. | |
Feb 15, 2022 at 11:59 | history | edited | Álvaro Franz | CC BY-SA 4.0 |
added 120 characters in body
|
Feb 15, 2022 at 11:56 | comment | added | Álvaro Franz | @mike - Thanks, just updated the question | |
Feb 15, 2022 at 11:53 | history | edited | Álvaro Franz | CC BY-SA 4.0 |
added 70 characters in body
|
Feb 15, 2022 at 11:48 | comment | added | James Smith | Go to your user account preferences and tick the box to show the debug toolbar in the control panel. Then you can drill down the response timeline to find the bottleneck. Do you have any plugins installed? | |
Feb 15, 2022 at 11:48 | comment | added | mike | Could you share some more information about your development environment? What OS are you using? Do you use MAMP? Docker? Nitro? etc.. | |
Feb 15, 2022 at 11:40 | history | asked | Álvaro Franz | CC BY-SA 4.0 |