3 ms·
Most of these benchmarks do a minimal number of syscalls per unit of work, if any. Meaning, unless syscalls are horribly slow, you'd expect them to be pretty mu
by chmod775 6y ago
Most of these benchmarks do a minimal number of syscalls per unit of work, if any. Meaning, unless syscalls are horribly slow, you'd expect them to be pretty much unaffected by the underlying OS.
It's not even really only WSL being benchmarked here, but also stuff like the OS' scheduling etc.
Micro-benchmarks for each syscall and comparing their actual performance might be more useful - it would allow you to more easily control for auxiliary differences between the operating systems - so you don't accidentally benchmark ext4 vs ntfs or something instead of your syscall.
Edit: I was unaware WSL2 is essentially a linux kernel in a VM now. What is even the point of benchmarking this and why is it supposed to be a successor to WSL? This is something completely different conceptually.