Skip to content

Commit 78d4650

Browse files
committed
read and display dev profile metadata on the compare page
1 parent 3a8896b commit 78d4650

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

site/frontend/src/pages/compare/compile/common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export interface CompileBenchmarkMetadata {
6767
binary: boolean | null;
6868
iterations: number | null;
6969
release_profile: CargoProfileMetadata;
70+
dev_profile: CargoProfileMetadata;
7071
}
7172

7273
export interface CompileBenchmarkComparison {

site/frontend/src/pages/compare/compile/comparisons-table.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Category: ${metadata.category}
8686
};
8787
if (testCase.profile === "opt" && metadata.release_profile !== null) {
8888
addMetadata(metadata.release_profile);
89+
} else if (testCase.profile === "debug" && metadata.dev_profile !== null) {
90+
addMetadata(metadata.dev_profile);
8991
}
9092
9193
return tooltip;

0 commit comments

Comments
 (0)