diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-01-15 14:38:22 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-01-15 15:20:36 +0000 |
| commit | 0f4df8fb0e56f7ac157fba4c4209f520ba7fba79 (patch) | |
| tree | 20d508e07416f23e37a41c3d9227eb3f4ffcf913 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | abcff71bec1ef1614041e59ea4f947bb0a13267c (diff) | |
| download | rust-0f4df8fb0e56f7ac157fba4c4209f520ba7fba79.tar.gz rust-0f4df8fb0e56f7ac157fba4c4209f520ba7fba79.zip | |
Eliminate a couple of extra calls
This is an additional 17% improvement on ./y.rs compile --sysroot none
Benchmark 1: ./y_before.bin build --sysroot none
Time (mean ± σ): 1.533 s ± 0.022 s [User: 1.411 s, System: 0.471 s]
Range (min … max): 1.517 s … 1.589 s 10 runs
Benchmark 2: ./y_after.bin build --sysroot none
Time (mean ± σ): 1.311 s ± 0.020 s [User: 1.232 s, System: 0.428 s]
Range (min … max): 1.298 s … 1.366 s 10 runs
Summary
'./y_after.bin build --sysroot none' ran
1.17 ± 0.02 times faster than './y_before.bin build --sysroot none'
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
