Confirmed users
1,345
edits
Nnethercote (talk | contribs) No edit summary |
Nnethercote (talk | contribs) |
||
Line 23: | Line 23: | ||
=== rustc perf === | === rustc perf === | ||
Land 5 changes that speed up or reduce peak memory usage of rustc. | Land 5 changes that speed up or reduce peak memory usage of rustc. | ||
* 100% completed. | * 100%+ completed. | ||
* [https://github.com/rust-lang/rust/pull/59693 Increase `Span` from 4 bytes to 8 bytes.] A big win across lots of workloads, especially larger crates: some <tt>script-servo</tt> builds are 15% faster. | * [https://github.com/rust-lang/rust/pull/59693 Increase `Span` from 4 bytes to 8 bytes.] A big win across lots of workloads, especially larger crates: some <tt>script-servo</tt> builds are 15% faster. | ||
* [https://github.com/rust-lang/rust/pull/61253 Avoid `hygiene_data` lookups.] Up to 10% speed-up on packed-simd, up to 3% on numerous others. | * [https://github.com/rust-lang/rust/pull/61253 Avoid `hygiene_data` lookups.] Up to 10% speed-up on packed-simd, up to 3% on numerous others. | ||
* [https://github.com/rust-lang/rust/pull/61612 Special-case literals in `parse_bottom_expr`]. Up to 7% win on programs with large constants. | |||
* [https://github.com/rust-lang/rust/pull/61484 Avoid more hygiene lookups.] Up to 2% speed-up on many benchmarks. | * [https://github.com/rust-lang/rust/pull/61484 Avoid more hygiene lookups.] Up to 2% speed-up on many benchmarks. | ||
* [https://github.com/rust-lang/rust/pull/59626 Reduce the `DepNode` pre-allocation ratio.] Reduces peak memory use by 20 MiB on some workloads. | * [https://github.com/rust-lang/rust/pull/59626 Reduce the `DepNode` pre-allocation ratio.] Reduces peak memory use by 20 MiB on some workloads. | ||
* [https://github.com/rust-lang/rust/pull/60630 Use `Symbol` more.] Up to 1% speed-up, as well as making the code nicer. Should also help with parallel rustc. | * [https://github.com/rust-lang/rust/pull/60630 Use `Symbol` more.] Up to 1% speed-up, as well as making the code nicer. Should also help with parallel rustc. | ||
* [https://github.com/rust-lang/rust/pull/60815 Use `Symbol` even more.] Up to 1% speed-up. Should also help with parallel rustc. | * [https://github.com/rust-lang/rust/pull/60815 Use `Symbol` even more.] Up to 1% speed-up. Should also help with parallel rustc. |