[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 5 commits into
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
This comment was marked as resolved.
This comment was marked as resolved.
|
@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%) |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4a10250): comparison URL. Overall result: ❌ regressions - 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 19.9%, secondary 31.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 22.5%, secondary 24.0%)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: 497.93s -> 666.116s (33.78%) |
|
@bors try parent=fdd8554059ec6dbba1d2c7aafb4d6c730d52cb90 @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.
|
@bors try parent=fdd8554059ec6dbba1d2c7aafb4d6c730d52cb90 @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 was marked as resolved.
This comment was marked as resolved.
|
@rust-timer build 084fe78 |
This comment has been minimized.
This comment has been minimized.
|
@bors try parent=4a10250184a5c9aee22a012d54bce26ace0b5f08 |
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 was marked as resolved.
This comment was marked as resolved.
|
@rust-timer build ce5a3fd |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (ce5a3fd): 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 0.4%, secondary 0.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.3%, secondary -0.3%)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: 666.116s -> 680.55s (2.17%) |
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