-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Perf regression fix #150056
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: main
Are you sure you want to change the base?
Perf regression fix #150056
Conversation
|
@rust-timer build 9124eca |
|
@Kobzol how do i run this |
|
@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.
trying to address perf regression
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (48c5d38): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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. @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.1%, secondary 2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.7%)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: 479.485s -> 478.535s (-0.20%) |
|
hm, wait how do I even understand if perf is fine? is there a way to check perf between two commits? I believe there's been a numerous amount of changes in this period of time that affects a bootstrap time but on the other hand it's not a 5 second reduce, not sure how to interpret this results |
|
Bootstrap time is not super important here, I would say. Based on the icount results, it looks like this change does indeed fix the regression! |
|
r? @SparrowLii rustbot has assigned @SparrowLii. Use |
|
r? @davidtwco |
Ah, thanks for the clarification! |
9124eca to
fc0d01b
Compare
|
I want to try different approach, should be even better, do I need to rerun bors try before next perf run? |
|
Yes, rustc-perf always benchmarks the result of the try build :) @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.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (da3c48f): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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. @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 -0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.1%)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: 479.038s -> 478.549s (-0.10%) |
|
looks slightly better right? |
The only thing changed from the previous PR is that I removed
output_is_inhabitedfrom hot path, and hide it behind condition, so now it will compute it less frequentfollow up on #149664