2
2
In an effort to support _ incremental compilation_ , the latest design of the Rust
3
3
compiler consists of a _ query-based_ model.
4
4
5
- The details of this model are (currently) outside the scope of this document,
5
+ The details of this model are outside the scope of this document,
6
6
however, we explain [ some background of this model] ( #background ) , in an effort
7
7
to explain how we profile its performance. We intend this profiling effort to
8
8
address [ issue 42678] ( https://github.com/rust-lang/rust/issues/42678 ) .
@@ -50,7 +50,7 @@ This command will generate the following files:
50
50
51
51
- This additional flag will add all timed passes to the output files mentioned
52
52
above, in step 2. As described below, these passes appear visually distinct
53
- from the queries in the HTML output (they currently appear as green boxes, via
53
+ from the queries in the HTML output (they appear as green boxes, via
54
54
CSS).
55
55
56
56
### 4. Inspect the output
@@ -86,8 +86,8 @@ The trace of the queries has a formal structure; see
86
86
We style this formal structure as follows:
87
87
88
88
- ** Timed passes:** Green boxes, when present (via ` -Z time-passes ` ), represent
89
- _ timed passes_ in the compiler. In future versions, these passes may be
90
- replaced by queries, explained below .
89
+ _ timed passes_ in the compiler. As of January 2021 these passes are not queries, but may be
90
+ replaced by queries in future versions .
91
91
- ** Labels:** Some green and red boxes are labeled with text. Where they are
92
92
present, the labels give the following information:
93
93
- The [ query's _ provider_ ] ( #queries ) , sans its _ key_ and its _ result_ , which
@@ -111,7 +111,7 @@ Heuristics-based CSS Classes:
111
111
112
112
- ` important ` -- Trace nodes are ` important ` if they have an extent of 6 (or
113
113
more), _ or_ they have a duration fraction of one percent (or more). These
114
- numbers are simple heuristics (currently hard-coded, but easy to modify).
114
+ numbers are simple heuristics (hard-coded, but easy to modify).
115
115
Important nodes are styled with textual labels, and highlighted borders (light
116
116
red, and bolded).
117
117
0 commit comments