Linux and Mac use seconds to build, Windows use even more than a quarter of an hour #39064
Unanswered
BogdanItumX
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just installed a project that includes Gatsby and I need to work on Windows (because of other C# projects etc.) and was quite surprised when gatsby used between 2715 seconds (45 minutes) to 4000 seconds (66 minutes) to "compile gatsby files".
Hardware is AMD Ryzen 9 5950X 16 core 3.4GHz and 64 GB ram, running a modern SSD disk. OS: latest Windows 11 Pro (23H2, OS build 22631.4037).
Same repo (https://github.com/fremtind/jokul), with same dependencies, on Mac or Ubuntu server uses about 20 seconds.
I tried to use -verbose etc. to find out what is happening in
gatsby develop --host 0.0.0.0 --port 8000
, but it didn't produce any more info...Anybody have any clues what can be done? I've tried with shutting off antivirus, giving nodejs higher prio and also using latest version of Gatsby without any luck.
I suspect that it is related to the file system or something on that level - as WSL with Ubuntu server 24 on same drive as Windows produced same results, while running the project on WSL inside Ubuntu file system worked really fast).
Looking forward to hear from users on Windows (as Mac and Linux seem to be really fast).
Beta Was this translation helpful? Give feedback.
All reactions