Skip to content

Commit a3f10b3

Browse files
joshtriplettMark-Simulacrum
authored andcommitted
lto-improvements: fix typos, fair -> fare
1 parent c65a377 commit a3f10b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/inside-rust/2020-06-29-lto-improvements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Additionally, the method in which bitcode is embedded in the rlib has changed. P
4444

4545
The following is a summary of improvements observed on a small number of real-world projects of small and medium size. Improvements of a project will depend heavily on the code, optimization settings, operating system, environment, and hardware. These were recorded with the 2020-06-21 nightly release on Linux with parallel job settings between 2 and 32.
4646

47-
The performance wins for debug builds were anywhere from 0% to 4.7% faster. Larger binary crates tended to fair better than smaller library crates.
47+
The performance wins for debug builds were anywhere from 0% to 4.7% faster. Larger binary crates tended to fare better than smaller library crates.
4848

49-
LTO builds were recorded anywhere from 4% to 20% faster. Thin LTO faired consistently better than fat LTO.
49+
LTO builds were recorded anywhere from 4% to 20% faster. Thin LTO fared consistently better than fat LTO.
5050

5151
The number of parallel jobs also had a large impact on the amount of improvement. Lower parallel job counts saw substantially more benefit than higher ones. A project built with `-j2` can be 20% faster, whereas the same project at `-j32` would only be 1% faster. Presumably this is because the code-generation phase benefits from higher concurrency, so it was taking a relatively smaller total percentage of time.
5252

0 commit comments

Comments
 (0)