Skip to content

Commit 5de3228

Browse files
Merge pull request #286 from nnethercote/fix-bench_local-refs
Replace some erroneous mentions of `bench_local` with `profile`.
2 parents 1ce9027 + 232777d commit 5de3228

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

collector/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ except that `$PROFILER` is one of the following.
209209
Cachegrind's results are almost deterministic, which eases comparisons
210210
across multiple runs.
211211
- **Slowdown**. Roughly 3--10x.
212-
- **Configuration**. Within `bench_local`, Cachegrind is configured to not
212+
- **Configuration**. Within `profile`, Cachegrind is configured to not
213213
simulate caches and the branch predictor, even though it can, because the
214214
simulation slows it down and 99% of the time instruction counts are all you
215215
need.
@@ -218,7 +218,7 @@ except that `$PROFILER` is one of the following.
218218
- **Diffs**. The `cg_diff` command can be used to diff two different raw
219219
output files, which is very useful for comparing profiles produce by two
220220
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
222222
`--mod-filename='s/rust[01]/rustN/g'` to eliminate path differences.
223223
- `callgrind`: Profile with
224224
[Callgrind](http://valgrind.org/docs/manual/cl-manual.html), a tracing
@@ -227,7 +227,7 @@ except that `$PROFILER` is one of the following.
227227
function call information. So it can be used like either Cachegrind or
228228
`perf-record`. However, it cannot perform diffs between profiles.
229229
- **Slowdown**. Roughly 5--20x.
230-
- **Configuration**. Like Cachegrind, within `bench_local` Callgrind is
230+
- **Configuration**. Like Cachegrind, within `profile` Callgrind is
231231
configured to not simulate caches and the branch predictor.
232232
- **Output**. Raw output is written to files with a `clgout` prefix; those
233233
files can be viewed with the graphical
@@ -244,7 +244,7 @@ except that `$PROFILER` is one of the following.
244244
- **Slowdown**. Roughly 5--20x.
245245
- **Prerequisites**. DHAT may require a rustc configured with `use-jemalloc =
246246
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
248248
non-default `--tot-blocks-allocd` option, so that it sorts its
249249
output by the number of blocks allocated rather than the number of bytes
250250
allocated. This is because the number of allocations typically has a

0 commit comments

Comments
 (0)