-
Notifications
You must be signed in to change notification settings - Fork 14k
Check span owners (span lowering) in debug builds and fix missing lowerings #148863
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?
Conversation
|
|
|
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Check span owners (span lowering) in debug builds and fix missing lowerings
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
💔 Test for ad40871 failed: CI. Failed jobs:
|
8c9a84b to
05ffd34
Compare
|
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Check span owners (span lowering) in debug builds and fix missing lowerings
This comment has been minimized.
This comment has been minimized.
|
@bors2 try cancel |
|
Try build cancelled. Cancelled workflows: |
5b6aec3 to
6eebed0
Compare
|
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Check span owners (span lowering) in debug builds and fix missing lowerings
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (473cf1d): comparison URL. Overall result: ❌ regressions - please read the text belowBenchmarking 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. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @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%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -3.2%, secondary -2.6%)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: 474.976s -> 473.989s (-0.21%) |
|
so, the question is: is this acceptable. It only shows up on the typenum and slightly the syn benchmarks, and even then only the incremental version. That's because:
I personally think not lowering spans is a bug and we should make this change. But there are measurable, smol, regressions on crates that have a lot of big macros, and we don't have a good way to measure the benefit of the lowering for actual incremental builds. |
r? @oli-obk
There were some cases where we didn't lower spans properly: