-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Use regular Vec in BitSet. #147644
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
base: master
Are you sure you want to change the base?
Use regular Vec in BitSet. #147644
Conversation
@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.
Use regular Vec in BitSet.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (f78185f): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient 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 -2.0%, secondary 2.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 473.894s -> 473.617s (-0.06%) |
Weird. This was a clear improvement when it was added in #109458. |
Yeah, it's definitely curious that perf is also more green than red in this PR, when the other PR was clearly the other (and, it's not even a clear flip-flop of benchmarks). I'm sort of wondering if different uses of I'm inclined to land this, given the pretty clear perf results. So r=me. But it might be nice to get a better sense of why the perf results are as they are. |
Given the artifacts size changes, could this be somehow related to either inlining from LTO or PGO/BOLT? |
That code is hot enough for the branch in all accesses to
SmallVec
to appear in profiles.