On 2020-07-14 01:52, Ty Young wrote:

Question: are Windows builds generally slower than Linux builds? It feels like building under cygwin is a bit slower, but I can't be sure.

Yes, Windows builds are most definitely slower. Emulating a Unix like environment on top of Windows is inherently slow. The Unix model of forking lots of processes, which makefiles typically do, is very fast in Linux, but expensive in Windows. Another factor is the filesystem, which on Linux has a very fast caching mechanism that makes many small file operations very fast. This is a lot slower on Windows. On my workstations with equal hardware, the Windows build is about 2.5x slower than the Linux build.

/Erik


Reply via email to