[perf] Add explicit Iterator::count impl for ChunkBy.#158866
Conversation
|
cc @Kobzol for perf run |
|
@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.
[perf] Add explicit `Iterator::count` impl for `ChunkBy`.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (546c6e5): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -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 -0.7%, secondary -5.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.9%, secondary -3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 491.018s -> 490.286s (-0.15%) |
|
It's interesting that we see regressions at all. I expected a ~zero impact finding due to |
|
Those two benchmarks are essentially just hello world, it might just be noise, or the stdlib becoming a tiny bit larger to load or something. A change like this most likely won't be caught by our compile benchmark suite (which doesn't mean it's not worth landing). |
TODO: fill out description if perf is improved