Skip to content

Only pass -Zincremental-verify-ich for incremental compiles - #2510

Open
xmakro wants to merge 1 commit into
rust-lang:mainfrom
xmakro:verify-ich-incremental-only
Open

Only pass -Zincremental-verify-ich for incremental compiles#2510
xmakro wants to merge 1 commit into
rust-lang:mainfrom
xmakro:verify-ich-incremental-only

Conversation

@xmakro

@xmakro xmakro commented Jul 26, 2026

Copy link
Copy Markdown

For non-incremental compiles the flag has no purpose. It triggers a query key verification sweep that costs ~1.3% of instructions on non-incr full measurements. This is overhead that exists only in the benchmark, not in real builds.

@xmakro
xmakro force-pushed the verify-ich-incremental-only branch from 05c927f to e9df0eb Compare July 26, 2026 20:07
@xmakro
xmakro marked this pull request as ready for review July 26, 2026 20:43
@nnethercote

Copy link
Copy Markdown
Contributor

Seems ok to me, though we'll need to be careful when we update the rustc-perf version used by CI, otherwise the improvement might be attributed to a compiler change.

@Kobzol

Kobzol commented Jul 27, 2026

Copy link
Copy Markdown
Member

This shouldn't be needed if rust-lang/rust#159796 lands, right? Let's wait for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants