Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ function normalizeBackend(backend: string): string {
</Tooltip>
</div>

<pre><code>./target/release/collector binary_stats compile \
<pre><code>cargo run --release --bin collector \
binary_stats compile \
+{{ props.baseArtifact.commit }} \
--rustc2 +{{ props.artifact.commit }} \
--exact-match {{ testCase.benchmark }} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ function normalizeScenario(scenario: string): string {
</script>

<template>
<pre><code>./target/release/collector profile_local cachegrind \
<pre><code>cargo run --release --bin collector \
profile_local cachegrind \
+{{ firstCommit }} \<template v-if="props.baselineCommit !== undefined">
--rustc2 +{{ props.commit }} \</template>
--exact-match {{ testCase.benchmark }} \
Expand Down
6 changes: 3 additions & 3 deletions site/frontend/src/pages/detailed-query/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,23 +198,23 @@ export function createDownloadLinksData(selector: Selector | null): {

const localCommands = {
base: state.base_commit
? `./target/release/collector profile_local cachegrind
? `cargo run --release --bin collector profile_local cachegrind
+${state.base_commit} --exact-match ${benchName(
state.benchmark
)} --profiles
${profile(state.benchmark)} --scenarios ${scenarioFilter(
state.scenario
)}`
: "",
new: `./target/release/collector profile_local cachegrind
new: `cargo run --release --bin collector profile_local cachegrind
+${state.commit} --exact-match ${benchName(
state.benchmark
)} --profiles
${profile(state.benchmark)} --scenarios ${scenarioFilter(
state.scenario
)}`,
diff: state.base_commit
? `./target/release/collector profile_local cachegrind
? `cargo run --release --bin collector profile_local cachegrind
+${state.base_commit} --rustc2 +${
state.commit
} --exact-match ${benchName(state.benchmark)} --profiles
Expand Down
Loading