Re:Ask HN: Building a fast PC for development (JS)
by ivanyv on Wednesday July 27, 2022 @03:59PM
(#32256005)
Hi, as I mentioned, I tried building under Ubuntu, which didn't improve build time that much considering the hardware specs, IMHO. So it does point out to optimizing the build itself, as esperent also suggested.
Benchmark your build to understand why it's slow. The first thing that jumps out to me is you're using WSL which has non negligible penalties in a few cases. Have you tried dual booting into Linux and running everything natively?
Once you do: benchmark!
It sounds like hardware isn't the problem here, but your tool chain. I don't know enough about it to give insight but it's worthwhile analyzing and googling to see what is taking so long and how to make it faster.