diff --git a/site/frontend/src/pages/compare/compile/table/shortcuts/binary-size-shortcut.vue b/site/frontend/src/pages/compare/compile/table/shortcuts/binary-size-shortcut.vue index a5cec231a..cbdef810f 100644 --- a/site/frontend/src/pages/compare/compile/table/shortcuts/binary-size-shortcut.vue +++ b/site/frontend/src/pages/compare/compile/table/shortcuts/binary-size-shortcut.vue @@ -36,7 +36,8 @@ function normalizeBackend(backend: string): string { -
./target/release/collector binary_stats compile \
+ cargo run --release --bin collector \
+ binary_stats compile \
+{{ props.baseArtifact.commit }} \
--rustc2 +{{ props.artifact.commit }} \
--exact-match {{ testCase.benchmark }} \
diff --git a/site/frontend/src/pages/compare/compile/table/shortcuts/cachegrind-cmd.vue b/site/frontend/src/pages/compare/compile/table/shortcuts/cachegrind-cmd.vue
index 299a98223..eaa782ac7 100644
--- a/site/frontend/src/pages/compare/compile/table/shortcuts/cachegrind-cmd.vue
+++ b/site/frontend/src/pages/compare/compile/table/shortcuts/cachegrind-cmd.vue
@@ -36,7 +36,8 @@ function normalizeScenario(scenario: string): string {
- ./target/release/collector profile_local cachegrind \
+ cargo run --release --bin collector \
+ profile_local cachegrind \
+{{ firstCommit }} \
--rustc2 +{{ props.commit }} \
--exact-match {{ testCase.benchmark }} \
diff --git a/site/frontend/src/pages/detailed-query/utils.ts b/site/frontend/src/pages/detailed-query/utils.ts
index 4d8da1542..12f024716 100644
--- a/site/frontend/src/pages/detailed-query/utils.ts
+++ b/site/frontend/src/pages/detailed-query/utils.ts
@@ -198,7 +198,7 @@ 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
@@ -206,7 +206,7 @@ export function createDownloadLinksData(selector: Selector | null): {
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
@@ -214,7 +214,7 @@ export function createDownloadLinksData(selector: Selector | null): {
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