-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[PERF TEST] Make TokenKind Copy
#96764
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit f1db01ceb09c3a88caadc9664a6d012347780dc1 with merge 7698e668bd4f07761451bd67ab45301a7e6ac82b... |
☀️ Try build successful - checks-actions |
Queued 7698e668bd4f07761451bd67ab45301a7e6ac82b with parent 9714e13, future comparison URL. |
Finished benchmarking commit (7698e668bd4f07761451bd67ab45301a7e6ac82b): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 Footnotes |
This was just an experiment to discover the potential speedups from making |
Note to self: a follow-up discussion was had here about better ways to implement this. It's difficult. |
f1db01c
to
d94a57e
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit d94a57e with merge 6deb69be8d85236a858b12f1813e580b8ad425b7... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (6deb69be8d85236a858b12f1813e580b8ad425b7): 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 sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 654.49s -> 649.326s (-0.79%) |
Perf results were similar to earlier. Still not a feasible path forward, though. Getting rid of |
Closing this as it was a perf test |
By leaking nonterminals we can make them
&'static
instead ofref-counted, which is enough for this test.
r? @ghost