Merge BuildReducedGraphVisitor into DefPathVisitor#154945
Merge BuildReducedGraphVisitor into DefPathVisitor#154945rust-bors[bot] merged 21 commits intorust-lang:mainfrom
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…try> Merge visitors def collector brg
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (5d54692): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.9%, secondary 2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 487.434s -> 486.262s (-0.24%) |
This comment has been minimized.
This comment has been minimized.
6fda0d7 to
f2c79f3
Compare
|
@petrochenkov all further cleanups I can do will essentially be paired with the visibility feeding refactoring (not storing |
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 66da6ca (parent) -> 4fbae3e (this PR) Test differencesShow 1 test diff1 doctest diff were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4fbae3e30923ca23262b696d54ddbd176c2c38b4 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (4fbae3e): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.4%, secondary 3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 496.86s -> 492.186s (-0.94%) |
|
The post-merge results are slightly worse than the pre-merge run, but overall it's a wash. @rustbot label: +perf-regression-triaged |
…=petrochenkov Immediately feed visibility on DefId creation This system was originally introduced in rust-lang#121089 This PR was enabled by refactorings in rust-lang#154945, because after that, the visibility feeding happens directly after the `DefId` creation, so we don't need to go through the intermediate hash table anymore Should unblock rust-lang#138995
Rollup merge of #155587 - oli-obk:feed-visibility-no-hash, r=petrochenkov Immediately feed visibility on DefId creation This system was originally introduced in #121089 This PR was enabled by refactorings in #154945, because after that, the visibility feeding happens directly after the `DefId` creation, so we don't need to go through the intermediate hash table anymore Should unblock #138995
…nkov Immediately feed visibility on DefId creation This system was originally introduced in rust-lang/rust#121089 This PR was enabled by refactorings in rust-lang/rust#154945, because after that, the visibility feeding happens directly after the `DefId` creation, so we don't need to go through the intermediate hash table anymore Should unblock rust-lang/rust#138995
These two visitors run right after each other on the same immutable AST. There's also a hash map for transferring the TyCtxtFeed created in the def collector to the BRG when it visits the same items. There are possibly more avenues for sharing logic, but I want to keep this PR simple.
only opening for perf runs for now. I'm still investigating how to ensure that future changes don't introduce subtle bugs by forgetting that def collection and reduced graph building are one pass now
Best reviewed commit-by-commit. I took a lot of care for making the individual changes reviewable, but all the
Merge *commits aren't able to compile libcore until the last one.