← Back to context

Comment by knuckleheads

3 days ago

Result:

Headstart on codex-rs (16 cores, clean builds, median of 3 alternating off/on pairs):

                          off       on     saved
  cargo check           383.8s   277.1s    28%
  cargo build           530.7s   330.8s    38%
  check, -Zthreads=8    220.0s   190.5s    13%
  build, -Zthreads=8    317.3s   249.2s    21%

Not helpful for compilation yet, but it's something :)

Do you see much benefit on incremental builds too, or is this mostly a clean-build win?

  • Depends on what you are editing I would say, if it's something deeper in the stack then it should help. The last numbers I have is that this is a 6-8% improvement for incremental editing of the code for cargo itself, but I'm having the benchmark be rerun now, as I've landed a fair amount of changes since then.