Skip to content

Commit 6aeb1f8

Browse files
authored
Merge pull request #2147 from Kobzol/site-exact-match
Use `--exact-match` instead of `--include` on the website
2 parents 6a70166 + 7a09080 commit 6aeb1f8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

site/frontend/src/pages/compare/compile/table/shortcuts/binary-size-shortcut.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function normalizeBackend(backend: string): string {
3939
<pre><code>./target/release/collector binary_stats compile \
4040
+{{ props.baseArtifact.commit }} \
4141
--rustc2 +{{ props.artifact.commit }} \
42-
--include {{ testCase.benchmark }} \
42+
--exact-match {{ testCase.benchmark }} \
4343
--profile {{ normalizeProfile(testCase.profile) }} \
4444
--backend {{ normalizeBackend(testCase.backend) }}</code></pre>
4545
</template>

site/frontend/src/pages/compare/compile/table/shortcuts/cachegrind-cmd.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function normalizeScenario(scenario: string): string {
3939
<pre><code>./target/release/collector profile_local cachegrind \
4040
+{{ firstCommit }} \<template v-if="props.baselineCommit !== undefined">
4141
--rustc2 +{{ props.commit }} \</template>
42-
--include {{ testCase.benchmark }} \
42+
--exact-match {{ testCase.benchmark }} \
4343
--profiles {{ normalizeProfile(testCase.profile) }} \
4444
--scenarios {{ normalizeScenario(testCase.scenario) }}</code></pre>
4545
</template>

site/frontend/src/pages/detailed-query.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function populate_data(data, state: Selector) {
198198
txt +=
199199
"<br>Local profile (base): <code>" +
200200
`./target/release/collector profile_local cachegrind
201-
+${state.base_commit} --include ${bench_name(
201+
+${state.base_commit} --exact-match ${bench_name(
202202
state.benchmark
203203
)} --profiles
204204
${profile(state.benchmark)} --scenarios ${scenario_filter(
@@ -208,7 +208,7 @@ function populate_data(data, state: Selector) {
208208
txt +=
209209
"<br>Local profile (new): <code>" +
210210
`./target/release/collector profile_local cachegrind
211-
+${state.commit} --include ${bench_name(
211+
+${state.commit} --exact-match ${bench_name(
212212
state.benchmark
213213
)} --profiles
214214
${profile(state.benchmark)} --scenarios ${scenario_filter(
@@ -220,7 +220,7 @@ function populate_data(data, state: Selector) {
220220
`./target/release/collector profile_local cachegrind
221221
+${state.base_commit} --rustc2 +${
222222
state.commit
223-
} --include ${bench_name(state.benchmark)} --profiles
223+
} --exact-match ${bench_name(state.benchmark)} --profiles
224224
${profile(state.benchmark)} --scenarios ${scenario_filter(
225225
state.scenario
226226
)}</code>`;

0 commit comments

Comments
 (0)