[PERF CHECK ONLY] Add inline to trivial cross-crate accessors#156343
[PERF CHECK ONLY] Add inline to trivial cross-crate accessors#156343traviscross wants to merge 1 commit intorust-lang:mainfrom
inline to trivial cross-crate accessors#156343Conversation
|
@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.
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (6000502): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @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.4%, secondary 0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.8%)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: 498.048s -> 501.772s (0.75%) |
|
@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.
4873dc4 to
596a06f
Compare
|
@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.
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
|
@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.
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (c51601b): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @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 (secondary 1.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 497.93s -> 502.373s (0.89%) |
|
@bors try parent=fb0a5a5a9c892b351f34263d6d84da9dde72871a @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
|
💔 Test for 2b7c262 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
a52e013 to
f091577
Compare
|
@bors try parent=fb0a5a5a9c892b351f34263d6d84da9dde72871a @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
f091577 to
55e3e79
Compare
|
@bors try parent=fb0a5a5a9c892b351f34263d6d84da9dde72871a @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
55e3e79 to
fdd8554
Compare
|
@bors try parent=fb0a5a5a9c892b351f34263d6d84da9dde72871a @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
|
⌛ Trying commit fdd8554 with merge 4a10250… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/25628483189 |
…s, r=<try> [PERF CHECK ONLY] Add `inline` to trivial cross-crate accessors
View all comments
Note
This is a draft for running perf.
Small accessor functions aren't inlined across crate boundaries in all build configurations. Even with LTO, PGO, etc., we may be limited in what gets inlined without these annotations.
In detailed profiling, the
inlineattributes being added in this PR seemed to make a difference. Let's add them.Notably, some of these fall within the expansion of the
newtype_index!macro and will apply to the items it defines.r? @traviscross