Low Level Tools/2019Q2: Difference between revisions
Jump to navigation
Jump to search
Nnethercote (talk | contribs) (→Nick) |
Nnethercote (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
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. | ||
* [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/59626 Reduce the `DepNode` pre-allocation ratio.] Reduces peak memory use by 20 MiB on some workloads. |
Revision as of 23:17, 15 April 2019
Nick
rustc pipelining: accept metadata as input for dependencies when producing an rlib.
Ship GWP.
Land 5 changes that speed up or reduce peak memory usage of rustc.
- Increase `Span` from 4 bytes to 8 bytes. A big win across lots of workloads, especially larger crates: some script-servo builds are 15% faster.
- Reduce the `DepNode` pre-allocation ratio. Reduces peak memory use by 20 MiB on some workloads.