-
Notifications
You must be signed in to change notification settings - Fork 1.9k
internal: add integrated completion benchmark #8720
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
|
|
Things that jump at me -- there should be no item_tree or impl_data queries in there. |
| #[test] | ||
| fn integrated_highlighting_benchmark() { | ||
| // Don't run slow benchmark by default | ||
| if true { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, how does this work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I uncomment this manually when I want to capture profile :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth checking for an env variable instead.
|
bors r+ |
|
Canceled. |
I've expected complete opposite results, IMO we should exaggerate the latter by calling it on some struct with multiple applicable trait impls. |
|
Filed #8721. I am exctremely satisfied that it took like 15 minutes to find the first WTF behavior after having the benchmark :3 @SomeoneToIgnore this type ( |
bors r+
🤖