Skip to content

Commit 3d53168

Browse files
committed
Store profiles into the database
1 parent 0701fb6 commit 3d53168

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/request_handlers/github.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ async fn record_try_benchmark_request_without_artifacts(
8383
conn: &dyn database::pool::Connection,
8484
pr: u32,
8585
backends: &str,
86+
profiles: &str,
8687
) {
87-
let try_request = BenchmarkRequest::create_try_without_artifacts(pr, backends, "");
88+
let try_request = BenchmarkRequest::create_try_without_artifacts(pr, backends, profiles);
8889
log::info!("Inserting try benchmark request {try_request:?}");
8990
if let Err(e) = conn.insert_benchmark_request(&try_request).await {
9091
log::error!("Failed to insert try benchmark request: {}", e);
@@ -127,6 +128,7 @@ async fn handle_rust_timer(
127128
&*conn,
128129
issue.number,
129130
cmd.params.backends.unwrap_or(""),
131+
cmd.params.profiles.unwrap_or(""),
130132
)
131133
.await;
132134
} else {
@@ -181,6 +183,7 @@ async fn handle_rust_timer(
181183
&*conn,
182184
issue.number,
183185
command.params.backends.unwrap_or(""),
186+
command.params.profiles.unwrap_or(""),
184187
)
185188
.await;
186189
} else {

0 commit comments

Comments
 (0)