diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-01-15 14:14:13 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-01-15 14:14:13 +0000 |
| commit | abcff71bec1ef1614041e59ea4f947bb0a13267c (patch) | |
| tree | 5330859817bd2210357b0e14beba5a7b2ced6fb4 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | 13197322ec78820cdd3214d8001f81fa4773918b (diff) | |
| download | rust-abcff71bec1ef1614041e59ea4f947bb0a13267c.tar.gz rust-abcff71bec1ef1614041e59ea4f947bb0a13267c.zip | |
Significantly speed up assembling of sysroots
By avoiding some redundant rustc calls and stripping debuginfo for
wrappers. ./y.rs build --sysroot none now runs 44% faster.
Benchmark 1: ./y_before.bin build --sysroot none
Time (mean ± σ): 2.200 s ± 0.038 s [User: 2.140 s, System: 0.653 s]
Range (min … max): 2.171 s … 2.303 s 10 runs
Benchmark 2: ./y_after.bin build --sysroot none
Time (mean ± σ): 1.528 s ± 0.020 s [User: 1.388 s, System: 0.490 s]
Range (min … max): 1.508 s … 1.580 s 10 runs
Summary
'./y_after.bin build --sysroot none' ran
1.44 ± 0.03 times faster than './y_before.bin build --sysroot none'
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
