4 ms·
This 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 obje
by gigel82 6y ago
This 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.