Comment by hu3

6 months ago

Interesting, M1 Max took 6 minutes and M1 Air took 11 minutes according to this article:

https://corrode.dev/blog/tips-for-faster-rust-compile-times/...

Oh yes, apple hardware continues to improve and M4 pro still the single threaded champion of anything under 300 w.

FWIW - last stage where the binary is produced takes the longest and is single threaded and that's the largest difference between release and debug.

  • Sounds suspicious to me.

    At a quick glance, most benchmarks show only 50% to 60% single threaded improvement between M1 and M4.

    That wouldn't explain compilation times going from 6 minutes to 2 minutes.