Skip to content

Instantly share code, notes, and snippets.

@laggingreflex
Created December 22, 2018 22:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save laggingreflex/0c63e310cc1f99716e54e1af8a40ad79 to your computer and use it in GitHub Desktop.
Save laggingreflex/0c63e310cc1f99716e54e1af8a40ad79 to your computer and use it in GitHub Desktop.
SSD M.2 vs HDD: Running npm install on a typically large NodeJS project

HDD

~ 1 minute 26 sec

SSD

~ 20 sec

The node_modules in this project consisted of ~16k files and ~70MB

Typical copying speeds on the drives, entirely unrelated to this test and usually in copying relatively larger files (5MB-1GB), for HDD was ~60MBPS, and for SSD M.2 ~500MBPS

@CassianoSF
Copy link

Cool, which NVMe did you use? You think gen4 would be faster?

@laggingreflex
Copy link
Author

@CassianoSF One of these 2 https://ssd.userbenchmark.com/Compare/Samsung-PM961-NVMe-PCIe-M2-128GB-vs-Samsung-960-Evo-NVMe-PCIe-M2-1TB/m194898vsm211052 (don't remember if it was before or after I upgraded to the other)

You can compare your gen4 with mine on that same site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment