Re:AWS Graviton vs. M1 vs. M1 Pro Node.js Benchmarks
by brettdong on Thursday March 24, 2022 @12:16AM
(#30786333)
Why don’t you run ARM containers on M1?
[ Parent
| on HN ]
Re:AWS Graviton vs. M1 vs. M1 Pro Node.js Benchmarks
by nickjj on Thursday March 24, 2022 @08:42AM
(#30788959)
It doesn't make much of a difference. macOS Docker performance is heavily limited by really poor volume mount performance.
In one of our projects the benchmarks look like this to run our test suite for a web app using volume mounts:
- 2020 Intel MBP (10th gen CPU, 32GB of memory, SSD): 37 seconds
- First generation M1 MBP: 31 seconds
- WSL 2: 3 seconds
The WSL 2 box is an old workstation I have from 6-7 years ago with an i5 3.2ghz CPU, 16gb of RAM and one of the first SSDs. All in all it was about $800.
The WSL 2 box is so fast for Docker because the volume performance is pretty much as good as native Linux. It's really fast.