ASUS ROG Zephyrus G16 (2024)
Processor: Intel Core Ultra 9 185
Memory: 32GB
Cargo Build: 31.85 seconds
Cargo Build --Release: 1 minute 4 seconds
ASUS ROG Zephyrus G14 (2024)
Processor: AMD Ryzen 8945HS / Radeon 780M
Memory: 32GB
Cargo Build: 29.48 seconds
Cargo Build --Release: 34.78 seconds
ASUS ROG Strix Scar 18 (2024)
Processor: Intel Core i9 14900HX
Memory: 64GB
Cargo Build: 21.27 seconds
Cargo Build --Release: 28.69 seconds
Apple MacBook Pro (M3 Pro 11 core)
Processor: M3 Pro 11 core
Cargo Build: 13.70 seconds
Cargo Build --Release: 21.65 seconds
Apple MacBook Pro 16 (M3 Max)
Processor: M3 Max
Cargo Build: 12.70 seconds
Cargo Build --Release: 15.90 seconds
Firefox Mobile build:
M1 Air: 95 seconds AMD 5900hx: 138 seconds Source: https://youtu.be/QSPFx9R99-o?si=oG_nuV4oiMxjv4F-&t=505
Javascript builds
Here, Alex compares the M1 Air running Parallels emulating Linux vs native Linux on AMD Zen2 mobile. The M1 is still significantly faster. https://youtu.be/tgS1P5bP7dA?si=Xz2JQmgoYp3IQGCX&t=183
Docker builds
Here, Alex runs Docker ARM64 vs AMD x86 images and the M1 Air built the image 2x faster than an AMD Zen2 mobile. https://youtu.be/sWav0WuNMNs?si=IgxeMoJqpQaZv2nc&t=366
Anyways, Alex has a ton more videos on coding performance between Apple, Intel and AMD.
Lastly, this is not M1 vs Zen2 but it's M2 vs Zen4.
LLVM build test
M2 Max: 377 seconds Ryzen 9 7940S: 826 seconds