-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Optimize position adjustments #97386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit dcce37d3d8c026a1cc1b3450c11d0739bee0f483 with merge e2290d2b5861a40c28cad29dab6029005e3ec044... |
I'll fix the breakage with some |
☀️ Try build successful - checks-actions |
Queued e2290d2b5861a40c28cad29dab6029005e3ec044 with parent 9fadabc, future comparison URL. |
Finished benchmarking commit (e2290d2b5861a40c28cad29dab6029005e3ec044): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Footnotes |
CI fails with an ICE |
Finished benchmarking commit (e2290d2b5861a40c28cad29dab6029005e3ec044): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Footnotes |
`imported_source_files` adjusts lots of file positions, and then calls `new_imported_source_file`, which then adjust them all again. This commit combines the two adjustments into one, for a small perf win.
dcce37d
to
2b91c40
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 2b91c40 with merge 6dafb2bd191eef16ed5fbd67a1430f0d9918cd1f... |
☀️ Try build successful - checks-actions |
Queued 6dafb2bd191eef16ed5fbd67a1430f0d9918cd1f with parent 99c4758, future comparison URL. |
Finished benchmarking commit (6dafb2bd191eef16ed5fbd67a1430f0d9918cd1f): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Footnotes |
@bors r+ |
📌 Commit 2b91c40 has been approved by |
⌛ Testing commit 2b91c40 with merge 7b889924e95a6ad637a5f8a082531bea0c31c449... |
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b2c9872): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
A small improvement.
r? @bjorn3