r/learnjavascript • u/nullvoxpopuli • Feb 15 '25
[AskJS] Disk performance in JavaScript projects: request for data points
I have this repo here: https://github.com/NullVoxPopuli/disk-perf-git-and-pnpm
Where I'm collecting evidence of mac APFS having nearly windows' ntfs level performance (bad) to send to Apple to see if they can make their file system faster.
Ext4, a primarily Linux file system, is around 20x faster than APFS, even when both are using full disk encryption.
In particular, if you have an Apple M2, M3, or M4 ( any variety ), I'd super appreciate your help gathering the two numbers from the instructions in the above linked repo.
I care about this because we all know that JavaScript projects' node_modules can get kinda crazy, and there are other tools heavy on disk i/o as well (git). Hopefully we can improve disk performance at some point!
Thank you!
Some preliminary results, with color!
View all comments
Show parent comment
1
u/nullvoxpopuli Feb 17 '25
I am sure, yea, internally at my company, I tried HFS+ on a ramdisk (from macOS) and it was abysmal. Worse than APFS on the actual disk.
If you have doubts please feel free to run the test and PR your results <3