Sometimes I'm not so impressed with my M1 Max MBP 16" (64GB RAM). Sometimes, it seems barely faster than the Core i9 15" (2018) MBP (32 GB RAM) that I also have. I leave one at work and keep one at home, so I rarely compare them side by side. Sure, somethings are perceptively faster, e.g. some Photoshop tasks, but for general tasks, I'm not so sure. So I ran some code that I use for teaching non-determinism. And I'm surprised. The M1 Max and the MBP ran neck and neck on this Perl one-liner. I checked. The Perl executable for the Max is arm64. Perl for the i9 is x86. You can run the same code easily. View attachment 2101246
You’re running perl interpreter code that has had 20 plus years of optimisation for x86.
The magic of M1 is in power efficiency (i.e., doing the same work with less power and getting better battery life and less fan noise) and drastically improving performance in tasks that can make use of the accelerators for GPU and ML.
Your perl one liner is basically worst case for M1.
Also bear in mind that the only difference between your M1 Max and an M1 Pro is the GPU which has zero bearing on this test.
Additionally this task will very likely not be multi-threaded, so the fact that the M1 Max is keeping up at much lower clock speed (Intel CPUs boost hard when only a single core is active (like 4Ghz plus vs. the M1 sitting around 3.2) is pretty impressive. You’d probably get almost exactly the same performance on this test on a base model M1 Air.
Try the same test running 8-10 or more copies of your script in different processes concurrently.
Last edited: