Add #[inline] annotation to functions moved out of std::io#159313
Add #[inline] annotation to functions moved out of std::io#159313bushrat011899 wants to merge 2 commits into
#[inline] annotation to functions moved out of std::io#159313Conversation
|
r? @clarfonthey rustbot has assigned @clarfonthey. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@JonathanBrouwer and/or @clarfonthey could we try a perf-run on this PR? I'm curious if this makes things better or worse for the |
|
@bors try @rust-timer queue Side note: very amused that this randomly chose me as the reviewer even though you didn't specify manually. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Add `#[inline]` annotation to functions moved out of `std::io`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (71248b2): 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 rustc-perf 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 -2.2%, secondary 4.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.8%, secondary -1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.2%, secondary 0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 489.951s -> 488.986s (-0.20%) |
|
Ok so the most notable result I can see is the improvement to Either way, I think it's clear that some of these functions probably shouldn't be EDIT: Actually never mind |
|
@clarfonthey Ok I've looked back over the If this doesn't work, then I think I'll need assistance from someone more experienced in |
|
@bors try @rust-timer queue side note: would offer to delegate permissions for this but not sure if that's possible |
This comment has been minimized.
This comment has been minimized.
|
❌ Encountered an error while executing command |
|
@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.
Add `#[inline]` annotation to functions moved out of `std::io`
This comment has been minimized.
This comment has been minimized.
|
Error occured while categorizing benchmark run:
|
|
Looks like the base commit doesn't have perf data yet, but doing a comparison the next oldest as a base here shows the same Therefore, I think it's a wash whether to actually merge this PR; it improves |
|
I'm fine with that assessment. |
View all comments
Description
Solution
Added
#[inline]to public functions inalloc::ioandcore::iowith total disregard to rhyme or reason. Might make things better, might make them worse, let's find out!Notes
bodgePR.