@@ -209,7 +209,7 @@ except that `$PROFILER` is one of the following.
209
209
Cachegrind's results are almost deterministic, which eases comparisons
210
210
across multiple runs.
211
211
- ** Slowdown** . Roughly 3--10x.
212
- - ** Configuration** . Within ` bench_local ` , Cachegrind is configured to not
212
+ - ** Configuration** . Within ` profile ` , Cachegrind is configured to not
213
213
simulate caches and the branch predictor, even though it can, because the
214
214
simulation slows it down and 99% of the time instruction counts are all you
215
215
need.
@@ -218,7 +218,7 @@ except that `$PROFILER` is one of the following.
218
218
- ** Diffs** . The ` cg_diff ` command can be used to diff two different raw
219
219
output files, which is very useful for comparing profiles produce by two
220
220
different versions of rustc. If those two versions are in different
221
- directories (such as ` rust0 ` and ` rust ` ), use a flag like
221
+ directories (such as ` rust0 ` and ` rust1 ` ), use a flag like
222
222
` --mod-filename='s/rust[01]/rustN/g' ` to eliminate path differences.
223
223
- ` callgrind ` : Profile with
224
224
[ Callgrind] ( http://valgrind.org/docs/manual/cl-manual.html ) , a tracing
@@ -227,7 +227,7 @@ except that `$PROFILER` is one of the following.
227
227
function call information. So it can be used like either Cachegrind or
228
228
` perf-record ` . However, it cannot perform diffs between profiles.
229
229
- ** Slowdown** . Roughly 5--20x.
230
- - ** Configuration** . Like Cachegrind, within ` bench_local ` Callgrind is
230
+ - ** Configuration** . Like Cachegrind, within ` profile ` Callgrind is
231
231
configured to not simulate caches and the branch predictor.
232
232
- ** Output** . Raw output is written to files with a ` clgout ` prefix; those
233
233
files can be viewed with the graphical
@@ -244,7 +244,7 @@ except that `$PROFILER` is one of the following.
244
244
- ** Slowdown** . Roughly 5--20x.
245
245
- ** Prerequisites** . DHAT may require a rustc configured with `use-jemalloc =
246
246
false` to work well.
247
- - ** Configuration** . DHAT is configured within ` bench_local ` to run with the
247
+ - ** Configuration** . DHAT is configured within ` profile ` to run with the
248
248
non-default ` --tot-blocks-allocd ` option, so that it sorts its
249
249
output by the number of blocks allocated rather than the number of bytes
250
250
allocated. This is because the number of allocations typically has a
0 commit comments