Repository navigation
Commit 003d3b6
Build benchmarks with whole-program optimization
Progress towards #9128.
`profile.bench` used `codegen-units = 16` with no LTO. Under those
settings, adding unrelated code to a crate reshuffles which functions
share a codegen unit, which changes cross-unit inlining for functions
whose source did not change. Adding the row framework to `vortex-array`
moved several untouched list benchmarks by 14-16% that way, none of
which have a source change on this branch.
`codegen-units = 1` with fat LTO removes that variable, so a measured
change is attributable to the change under test.
This is branch-only and it invalidates comparison against a `develop`
baseline built with the old settings. Compare two revisions that both
carry this profile.
Signed-off-by: Connor Tsui <[email protected]>
Co-authored-by: Claude <[email protected]>1 parent 6a468fd commit 003d3b6
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
419 | 427 | | |
420 | | - | |
| 428 | + | |
421 | 429 | | |
422 | 430 | | |
423 | 431 | | |
| |||
0 commit comments