Skip to content

Commit ba1648f

Browse files
rwmacleodMark-Simulacrum
authored andcommitted
Update 2023-11-09-parallel-rustc.md: fix a typo and a wrong word
1 parent 1f2c9fe commit ba1648f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/2023-11-09-parallel-rustc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ a machine with 28 virtual cores.
5151

5252
There are 60 horizontal lines, each one representing a distinct process. Their
5353
durations range from a fraction of a second to multiple seconds. Most of them
54-
are rustc, and the few orange ones are build scripts. The first twenty run all
54+
are rustc, and the few orange ones are build scripts. The first twenty processes all
5555
start at the same time. This is possible because there are no dependencies
5656
between the relevant crates. But further down the graph, parallelism reduces as
5757
crate dependencies increase. Although the compiler can overlap compilation of
@@ -117,7 +117,7 @@ get the following Samply profile when compiling the same example as before.
117117

118118
![Samply output when compiling Cargo, parallel](../../../images/2023-11-09-parallel-rustc/samply-parallel.png)
119119

120-
Again, there are several things worth nothing.
120+
Again, there are several things worth noting.
121121
- Front-end execution takes 5.9 seconds (down from 10.2 seconds).
122122
- Back-end execution takes 5.3 seconds (down from 6.2 seconds), and the LLVM
123123
threads are running for 4.9 seconds of that (down from 5.9 seconds).

0 commit comments

Comments
 (0)