Repository navigation
Replace match_span_kind macro with SpanKind - #165805
Conversation
The macro was written to get around some suboptimal code generation. After the recent span compression overhaul it is no longer needed, and we can use a simpler type to achieve the same goal.
|
@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.
Replace `match_span_kind` macro with `SpanKind`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (acc011e): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @bors rollup=iffy rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (primary -1.7%, secondary -2.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 483.908s -> 486.501s (0.54%) |
|
I was aiming for perf-neutral, but this is actually a small perf win. |
|
@bors r+ |
…uwer Rollup of 6 pull requests Successful merges: - #165805 (Replace `match_span_kind` macro with `SpanKind`) - #165746 (std: don't overflow when rounding up huge thread stack sizes on unix) - #165807 (Fix 'simga' typo in char.to_lowercase documentation) - #165809 (Update to ar_archive_writer 0.5.5) - #165812 (Remove `-Z stack-protector=basic`) - #165815 (Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957`)
Rollup merge of #165805 - nnethercote:SpanKind, r=petrochenkov Replace `match_span_kind` macro with `SpanKind` The macro was written to get around some suboptimal code generation. After the recent span compression overhaul it is no longer needed, and we can use a simpler type to achieve the same goal. r? @petrochenkov
|
Note This PR was benchmarked as part of triage of its containing rollup: triage URL. Finished benchmarking commit (acd4224): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary 3.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 4.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Artifact size: 406.34 MiB -> 407.57 MiB (0.30%) |
…nathanBrouwer Rollup of 6 pull requests Successful merges: - rust-lang#165805 (Replace `match_span_kind` macro with `SpanKind`) - rust-lang#165746 (std: don't overflow when rounding up huge thread stack sizes on unix) - rust-lang#165807 (Fix 'simga' typo in char.to_lowercase documentation) - rust-lang#165809 (Update to ar_archive_writer 0.5.5) - rust-lang#165812 (Remove `-Z stack-protector=basic`) - rust-lang#165815 (Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957`) codegen: avoid CGU invalidation in path dependent debugger visualizer lookup
…uwer Rollup of 6 pull requests Successful merges: - rust-lang/rust#165805 (Replace `match_span_kind` macro with `SpanKind`) - rust-lang/rust#165746 (std: don't overflow when rounding up huge thread stack sizes on unix) - rust-lang/rust#165807 (Fix 'simga' typo in char.to_lowercase documentation) - rust-lang/rust#165809 (Update to ar_archive_writer 0.5.5) - rust-lang/rust#165812 (Remove `-Z stack-protector=basic`) - rust-lang/rust#165815 (Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957`)
The macro was written to get around some suboptimal code generation. After the recent span compression overhaul it is no longer needed, and we can use a simpler type to achieve the same goal.
r? @petrochenkov