4 ms·
I compiled a few previously. Sorry for the formatting: ASUS ROG Zephyrus G16 (2024) Processor: Intel Core Ultra 9 185 Memory: 32GB Cargo Build: 31.85 second
by aurareturn 2y ago
I compiled a few previously. Sorry for the formatting:
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 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 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 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
- KingOfCoders 2y ago@aurareturn really appreciate the comparison and your effort (upvoted). As I no longer use a laptop (don't need it, too expensive, breaks, no upgrades, but that is just me), browsing through that channel looks like he focuses on laptops. Would love to see a 7950x/64gb/SSD5 comparison, perhaps (see https://www.octobench.com/ https://www.octobench.com/ for SSD impact on Go compilation) he will create one in the future (channel bookmarked). But would I still need to use a laptop, I would probably switch back to Apple (have an iMac Pro as decoration standing in the shelf, was my last Apple dev machine). The $5000 16 Pro looks great as a machine. When still working at eBay, the nice thing was one always got the max specced machine as a developer back in the days - so that would probably be it. Real nice one. [Edit] Someone suggested looking at Geekbench Clang, which brought some insights for my desktop usage: (it looks like top CPUs are more or less the same, ~15% difference) "Randomly" picking M2 Ultra 233.9 Klines/sec 7950x 230.3 Klines/sec 14900K 215.3 Klines/sec M3 Max 196.5 Klines/sec