Skip to content

[Wall time -0.24% vs main; paired PGO estimate] Return empty-side sanitizer unions before conflict checks - #152

Closed
xmakro wants to merge 1 commit into
mainfrom
perf-review-20260907/39-sanitizer-empty-merge
Closed

[Wall time -0.24% vs main; paired PGO estimate] Return empty-side sanitizer unions before conflict checks#152
xmakro wants to merge 1 commit into
mainfrom
perf-review-20260907/39-sanitizer-empty-merge

Conversation

@xmakro

@xmakro xmakro commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Skip the conflict-pair scan when either sanitizer set is empty. Preserve all bits, including unknown and conflicting ones; an exhaustive empty-side identity test covers every u16 mask.

Comparison Wall time Instructions Peak RSS
Complete PR vs main -0.237% -0.194% -0.025%
Profile, complete PR vs main Wall time
check -0.094%
debug -0.452%
opt -0.166%

Negative percentages mean less elapsed time or fewer resources. The title is an individual local timing estimate; small changes may be measurement noise.

The two recorded repetitions give aggregate timing estimates of -0.201% and -0.278% for the title comparison. Mixed directions are marked in the title. This repeatability check is not a confidence interval.

Both compilers use the same source base, CI LLVM, fixed standard libraries, ThinLTO and jemalloc. Each has separate nine-workload Rust PGO training. The stock collector measures all 20 Primary benchmarks: 249 Check/Debug/Opt and full/incremental cases, two observations per compiler per case, alternating baseline/candidate order by crate. No other campaign builds run during measurement. Percentages are equal-case geometric means. LLVM retraining and BOLT are omitted.

This branch has one commit directly on main. Its exact measured source passed the full UI and incremental suites plus the additional suites recorded in the build provenance.

Fixed main commit: da47efd27287edb02eed0b5a178a165c8f258e37. Measured source patch SHA-256: 6283a68c4fef2f73eb05b820844c5dd9f965083fd6f3b2837b2a354962473faf.

Local raw measurements and per-case CSVs: independent-pr152-main-v1-comparison.csv in the September 6 investigation directory. Build/test provenance: pgo/independent-pr152-source-timing-v1/provenance.json.

@xmakro xmakro changed the title [0.528% fewer Debug instructions, screen] Return empty-side sanitizer unions before conflict checks [Debug instructions -0.528%; isolated reused PGO screen] Return empty-side sanitizer unions before conflict checks Sep 8, 2026
@xmakro
xmakro force-pushed the perf-review-20260907/38-serial-virtual-index branch from fcfae32 to 8e6d0a5 Compare September 9, 2026 06:21
@xmakro
xmakro force-pushed the perf-review-20260907/39-sanitizer-empty-merge branch from 536faf8 to 899976d Compare September 9, 2026 06:21
@xmakro xmakro changed the title [Debug instructions -0.528%; isolated reused PGO screen] Return empty-side sanitizer unions before conflict checks [Wall time -0.24% vs main; paired PGO estimate] Return empty-side sanitizer unions before conflict checks Sep 9, 2026
@xmakro
xmakro changed the base branch from perf-review-20260907/38-serial-virtual-index to main September 9, 2026 06:22
@xmakro
xmakro force-pushed the perf-review-20260907/39-sanitizer-empty-merge branch from 899976d to de67008 Compare September 10, 2026 01:11
@xmakro xmakro closed this Sep 10, 2026
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.

1 participant