-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fixing #95444 by only displaying passes that take more than 5 millise… #95454
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
I bo longer have bors privileges. r? @rylev |
Ah, apparently Ryan doesn't either. Maybe r? @wesleywiser would be a good fit? |
... I think only the PR author can reassign the reviewer. |
This comment has been minimized.
This comment has been minimized.
Done. |
For some reason i can't comment on original issue, so will here. Help for this flag says, that: |
We can just update the documentation to reflect the new behavior. I'm open to being convinced this isn't the right change but I don't think the comment is very compelling. |
Oh, we should probably include all passes that increase memory though, e.g. this one would be missed if we only go by CPU time:
|
@jyn514 sure. I will make an update later today or tomrrow. |
I'm not sure that a fixed cutoff like 5ms (or whatever) is going to be that useful in larger crates. As an extreme case, I doubt this would filter out any entries when compiling That being said, I don't really use |
This comment has been minimized.
This comment has been minimized.
@jyn514,@wesleywiser I've added the passes that increase memory. Any comments are, of course, welcome. |
Just a friendly reminder that I am still available for any changes needed. |
There are a few tidy issues:
I think we can merge once these are taken care of. 🙂 |
@wesleywiser I completed the requested changes. |
Thanks, looks good! Would you mind squashing the commits together so we can merge? |
82b1ce2
to
e79ba76
Compare
…5 milliseconds 95444: Adding passes that include memory increase Fix95444: Change the substraction with the abs_diff() method Fix95444: Change the substraction with abs_diff() method
@bors r+ |
📌 Commit e79ba76 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (d60b4f5): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
As discussed in #95444, I have added the code to test and only display prints that are greater than 5 milliseconds.
r? @jyn514