Skip to content

Commit 238fa37

Browse files
authored
Merge pull request #1709 from lqd/fix-cachegrind-cmd
fix cachegrind cmd in benchmark detail
2 parents c189751 + db5c279 commit 238fa37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

site/frontend/src/components/cachegrind-cmd.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function normalizeScenario(scenario: string): string {
4343
</script>
4444

4545
<template>
46-
<pre><code>cargo run --bin collector --release profile_local cachegrind \
46+
<pre><code>./target/release/collector profile_local cachegrind \
4747
+{{ firstCommit }} \<template v-if="props.baselineCommit !== undefined">
4848
--rustc2 +{{ props.commit }} \</template>
4949
--include {{ testCase.benchmark }} \

site/frontend/src/pages/compare/compile/table/benchmark-detail.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ onMounted(() => renderGraph());
312312
<div class="title bold">
313313
Local profiling command<Tooltip>
314314
Execute this command in a checkout of
315-
<a href="https://github.com/rust-lang/rustc-perf">rustc-perf</a>
316-
to generate a Cachegrind profile.
315+
<a href="https://github.com/rust-lang/rustc-perf">rustc-perf</a>,
316+
after a `cargo build --release`, to generate a Cachegrind profile.
317317
</Tooltip>
318318
</div>
319319

0 commit comments

Comments
 (0)