I'm pretty impressed by what I've seen with Apple's M1 Chip. It's really fast and powerful for essential everyday tasks, which include browsing the web, working with Intel-based apps, and using programming apps. Yes β the ecosystem is moving, and that may take time, but I think M1 is worth paying for it because of its phenomenal performance.
M1 is fast, and many benchmarks have proved its performance. However, I was curious about the performance of the programming languages using M1. So I decided to test it for the most popular workloads here.
Before you see the results, you should know that some benchmark suites are memory-intensive, some are CPU-intensive, and some have no benefits with multi-core processing because of its overhead or its difficulty for utilizing. It means that M1 can have an advantage over the desktop-class multi-core Ryzen processor even though the core count is lesser. Most importantly, I've focused more on real-world development performance testing rather than synthetic, production tests.
You can check the raw benchmark data here.
I add the following comment as of Dec 14: we care how fast our dev computer runs. the multi-core advantage of 3900X is useless for most of the benchmarks here that don't represent the real-world production performance at all but devs usually work on their laptops, desktops, etc most of the time so I think such real-world development performance benchmarks make it worthwhile though. of course, Ryzen 3900X will perform way better than M1 and Intel when it comes to production, mostly achieved by parallelizing.
Test Environment
- Apple M1: Mac Mini (16GB RAM), MacBook Air (8GB RAM) / macOS Big Sur 11.0.1 (All executables used for benchmarks are natively compiled for Apple Silicon.)
- Ryzen 3900X: ASRock Rack X570D4I-2T / 16GB DDR4-3200 x 2 / Ubuntu 20.04.1 LTS (tested after shutting down background tasks.) β You may wonder why I used 3900X instead of Ryzen 5000-series CPUs: Because I don't have it. And note that it doesn't make sense overclocking memory in a server motherboard.
- Intel i7-9750H: MacBook Pro 16" / 16GB / macOS Big Sur Β 11.0.1
- Intel i9-9880H: MacBook Pro 16" / 32GB / macOS Big Sur 11.0.1
Java Renaissance
Less is better
Renaissance is a modern, open, and diversified benchmark suite for the JVM, aimed at testing JIT compilers, garbage collectors, profilers, analyzers and other tools.
Since JVM is memory intensive, and memory is one of the largest bottlenecks for any Java applications, Apple M1 performance is stunning compared to Ryzen 3900X.
Java SciMark 2.0 (NIST)
Higher is better
SciMark 2.0 is a Java benchmark for scientific and numerical computing. It measures several computational kernels and reports a composite score in approximate Mflops (Millions of floating point operations per second).
Java DaCapo
Less is better
DaCapo benchmark suite is intended as a tool for Java benchmarking by the programming language, memory management and computer architecture communities. It consists of a set of open source, real world applications with non-trivial memory loads.
Python PyPerformance
Less is better
The pyperformance project is intended to be an authoritative source of benchmarks for all Python implementations. The focus is on real-world benchmarks, rather than synthetic benchmarks, using whole applications when possible.
Edit (Dec 15, at 01:55 KST): Fixed an issue I made a mistake that the actual unit is Seconds instead of Milliseconds in the last 'Total Seconds Elapsed' chart while I reuse the subtitles for the benchmark charts.
Go (golang.org/x/benchmarks)
Less is better
Note here that Go utilized all cores during this benchmark.
Go (golang-benchmarks)
(Unit: ns/op, Less is better)
SQLite Bench
Less is better
Redis
Higher is better
JavaScript Web Tooling Benchmark (v8)
Higher is better
V8 Web Tooling Benchmark is a benchmark suite designed to measure the JavaScript-related workloads commonly used by web developers, such as the core workloads in popular tools like Babel or TypeScript. The goal is to measure only the JavaScript performance aspect (which is affected by the JavaScript engine) and not measure I/O or other unrelated aspects.
See the in-depth analysis for a detailed description of the tests included in this benchmark suite.
JavaScript Octane 2.0
Higher is better
Webpack Build
Less is better
Target build project: antd-admin
Conclusion
It is very impressive to see the performance of Apple's M1 Chip. It performs better than the existing x86 does in such real-world benchmarks.
I don't feel like I need to say much: Just Buy M1 if you'd like to have a low-power, long-lasting, quiet, and performant dev machine.
M1μ μ¬λμΈμ μ λ°.
The results of MacBook Air (M1) and MacBook Pro 16" (i9-9880H) were provided by courtesy of Jinho Jeong (@zinozzino).