Jarred Sumner noted on X that macOS has slow file opening due to thread contention. Daniel Lemire tested this by writing a C++ program to open 1000 files using varying thread counts on an Apple M2 laptop and a big x64 Linux server. Results showed macOS is slower despite better hardware, while Linux performed better overall.

3m read timeFrom lemire.me
Post cover image

Sort: