2 ms·
It's not just that; process creation in Win32 is generally slower / more expensive, and has been since forever.
by int_19h 5y ago
It's not just that; process creation in Win32 is generally slower / more expensive, and has been since forever.
- cryptonector 5y agoI don't think there's anything fundamental to make WIN32 process creation slow. Whereas fork() has copying semantics that necessarily make it slower than alternatives like vfork().
- int_19h 5y agoI don't think there's anything inherent to the semantics of Win32 CreateProcess that makes it slow. But there's clearly something inherent to NT architecture that does, because it was just as true 25 years ago as it is today.
- kllrnohj 5y agoVery true (hence "most" not "all" in my statement :) ), but with AV disabled it's more or less on par with MacOS: https://www.bitsnbites.eu/benchmarking-os-primitives/ https://www.bitsnbites.eu/benchmarking-os-primitives/ (not the best comparison given the wide variety of hardware in play, but for orders of magnitude it's probably good enough) File creation on Windows is similarly massively impacted by search & AV.