3 ms·
Don't have a Mac but I'm on a team where I use WSL2 and my fellow engineers use Macs, which I believe consist of the 2020 i7 and i9 13" and 15" Macbook Pros, de
by AaronFriel 5y ago
Don't have a Mac but I'm on a team where I use WSL2 and my fellow engineers use Macs, which I believe consist of the 2020 i7 and i9 13" and 15" Macbook Pros, depending on engineer choice. My Dell laptop has an i7-9750H and 32GB RAM, which I think is roughly comparable.
I can say that my WSL2 and Docker builds, especially when volume mounting a code directory into a Docker container, are typically much faster. I don't know if I could quantify it, but I'd rank it roughly like this:
1. Windows WSL2 (EXT4 fs) when using WSL2 directly or docker and code is in WSL2 (since Docker is just using the overlay storage driver)
2. Mac APFS directly - no Docker, just brew-based npm and "npm install"
[big gap]
3. NTFS
4. APFS volume mount into container
5. WSL1 "npm install"
[gap]
6. WSL2 <-> Windows filesystem bridge (files on Windows NTFS, running npm install from Linux)