3 ms·
node/npm operations are vastly slower for me on docker with a linux vm, I have tested this before. APFS does suck though, don't get me wrong edit: I just test
by llimllib 1y ago
node/npm operations are vastly slower for me on docker with a linux vm, I have tested this before.
APFS does suck though, don't get me wrong
edit: I just tested, 36s for an `npm i` on a decently large project I have locally, 46s with an overlay fs
- dawnerd 1y agoCan also confirm. We’ve had some client projects that had npm inside of containers and those were horribly slow on macOS.
- Scaevolus 1y agoNot an overlay fs, a VM writing to its own virtual block device.
- llimllib 1y agoI should have been more specific, I tested with: `rm -rf node_modules && docker run --rm -ti -v $PWD:/app node:20.19.0-alpine3.20 sh -c "cd /app && time npm i"` So an overlay FS (if I'm understanding you/the OP correctly), not the VM's disk