Skip to content

Commit 3a8896b

Browse files
committed
send dev profile metadata in the API
1 parent 5b6f63b commit 3a8896b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

site/src/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ pub mod comparison {
159159
pub binary: Option<bool>,
160160
pub iterations: Option<u32>,
161161
pub release_profile: Option<ProfileMetadata>,
162+
pub dev_profile: Option<ProfileMetadata>,
162163
}
163164

164165
#[derive(Debug, Clone, Serialize)]

site/src/comparison.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ pub async fn handle_compare(
185185
binary: metadata.map(|m| m.perf_config.artifact() == ArtifactType::Binary),
186186
iterations: metadata.map(|m| m.perf_config.iterations() as u32),
187187
release_profile: metadata.map(|m| m.release_metadata.clone()),
188+
dev_profile: metadata.map(|m| m.dev_metadata.clone()),
188189
}
189190
})
190191
.collect();

0 commit comments

Comments
 (0)