-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Use a larger length/offset for rmeta tables #113172
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
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit eb908cebfdcc3098b2107cb7cbf4b9168232a52f with merge b75185b7c3847331e3a074a6d6ac4fb8d14e7835... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (b75185b7c3847331e3a074a6d6ac4fb8d14e7835): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 660.993s -> 662.494s (0.23%) |
It looks like the size of rlibs grows between 1% and 30%. That seems a bit steep. Based on the fact that icount/cycles/time are perf-neutral I'm going to try to do some varint encoding. |
Of course, varint encoding isn't possible because this is a table format. So instead of a varint encoding, let's try just bumping up number of bytes we encode. 5 bytes should be enough for a while. |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 6bb51e7 with merge 905eceaa29971ec6f56586b96233d97fb49b37d8... |
☀️ Try build successful - checks-actions |
1 similar comment
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (905eceaa29971ec6f56586b96233d97fb49b37d8): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 661.654s -> 660.885s (-0.12%) |
That looks a lot more acceptable to me. We still have some regressions, which is inevitable given the fact that this changing the size of the elements of a table, but they are less. Now I think we just need a regression test. |
Here are the metadata regressions. |
Closing in favor of #113542 |
A potential fix for #112934#113542 is a much better implementation
r? @ghost