4 ms·
Is it just for Rust compiles, or has anyone tested other languages like Java, C/C++, etc? I ask because I don't have access to an M1 MacBook.
by sfblah 6y ago
Is it just for Rust compiles, or has anyone tested other languages like Java, C/C++, etc? I ask because I don't have access to an M1 MacBook.
- stu2b50 6y agoThere's been XCode benches on some of the reviews (see: https://youtu.be/XQ6vX6nmboU?t=186 https://youtu.be/XQ6vX6nmboU?t=186), seems like the M1 beats even the iMac Pro, and is as fast as a Ryzen R9 3950X hackintosh (although I suspect that they're both reaching the point where compilation is entirely I/O bottlenecked)
- tomduncalf 6y agoTechCrunch give figures for compiling WebKit on the 13" Pro in their review: https://techcrunch.com/2020/11/17/yeah-apples-m1-macbook-pro-is-powerful-but-its-the-battery-life-that-will-blow-you-away/ https://techcrunch.com/2020/11/17/yeah-apples-m1-macbook-pro... - the gains are not as drastic, but it is still faster than the 16" and as fast as a Mac Pro, while using hardly any battery. Very impressive stuff. I only got a new 16" last year but a lot of my time is spent compiling, I might find it hard to resist upgrading next yera when they announce more Pro models.
- gigel82 6y agoThis feels fishy somehow; we need a more thorough in-depth look at exactly what is being compiled in both instances (I've seen projects that build half the object files on different architectures). It's likely not a 1:1 comparison on actual amount of code being compiled and linked. It will be awesome if accurate, but I think we need more data.
- qayxc 6y agoThe results check out - code compilation is very sensitive to cache and the M1 has about 4 times more L1 cache per core than Intel CPUs. The i7 9750H has 32kb data- and 32kb instruction cache plus 256kb L2 cache per core. The M1 has 192kb instruction cache and 64kb data cache per core as well as 12MB L2 cache (shared) for the high performance cores. This alone is enough to explain significantly better code compilation performance.
- DarmokJalad1701 6y agoSomeone compiled Webkit (written in C++) on the M1 devices https://twitter.com/TedMielczarek/status/1328740104630886405 https://twitter.com/TedMielczarek/status/1328740104630886405