(no title)
tyleo | 21 days ago
I ran a performance test back in October comparing M4 laptops against high-end Windows desktops, and the results showed the M-series chips coming out on top.
https://www.tyleo.com/blog/compiler-performance-on-2025-devi...
murderfs|21 days ago
philistine|21 days ago
etrvic|21 days ago
tom_|21 days ago
I don't know how to set up a proper cross compile setup on Apple Silicon, so I tried compiling the same code on 2 macOS systems and 1 Linux system, running the corresponding test suite, and getting some numbers. It's not exactly conclusive, and if I was doing this properly properly then I'd try a bit harder to make everything match up, but it does indeed look like using clang to build x64 code is more expensive - for whatever reason - than using it to build ARM code.
Systems, including clang version and single-core PassMark:
Single thread build times (in seconds). Code is a bunch of C++, plus some FOSS dependencies that are C, everything built with optimisation enabled: (Linux time excludes build times for some of the FOSS dependencies, which on Linux come prebuilt via the package manager.)Single thread test suite times (in seconds), an approximate indication of relative single thread performance:
Build time/test time makes it look like ARM clang is an outlier: (The Linux value is flattered here, as it excludes dependency build times, as above. The C dependencies don't add much when building in parallel, but, looking at the above numbers, I wonder if they'd add up to enough when built in series to make the x64 figures the same.)tyleo|20 days ago
wpm|21 days ago
Not even a bad little gaming machine on the rare occasion
cubefox|21 days ago
dagmx|21 days ago
Those panther lake comparisons are from the top end PTL to the base M series. If they were compared to their comparative SKUs they’d be even further behind.
sys_64738|21 days ago