Best CPU for compile in Windows

Anyone with Windows 11 Arm? (aarch64-pc-windows-msvc)

  • CPU: AMD Ryzen 5 7600X 6-Core Processor 4.70 GHz
  • Fresh build: TotalMilliseconds : 66523,1088
  • Recompile: TotalMilliseconds : 9634,5136
1 Like

Anyone tried this with a macbook M1 - M4?

MacBook Pro M1

Fresh build:
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.53s 
Rebuild: Hmm.. very variable:
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.85s
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
1 Like

Note that the result won't be comparable due to compiling different platform-specific dependencies (in particular often multiple versions of the windows crate are a big slowdown)


Anyway, I tested this on a Macbook Pro M4 (12 cores, 24GB RAM) but note that this was on battery and with a bunch of other stuff running in background.

Fresh build:

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.89s
cargo build  108.27s user 14.17s system 553% cpu 22.126 total

Recompile:

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.27s
cargo build  1.45s user 1.28s system 106% cpu 2.563 total

Wild that this is 2x worse than ZiCog's M1 result!

Edit: dang, now I feel dumb, misread the timing, this is 2x better. Which is more expected :slight_smile:

  • CPU: 12th Gen Intel(R) Core(TM) i7-12700K
  • Fresh build: TotalSeconds : 60,79
  • Recompile: TotalSeconds : 6,58

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.