Skip to content

Commit d4e54d9

Browse files
committed
Store profiles into the database
1 parent b792e8f commit d4e54d9

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
@@ -96,8 +96,9 @@ async fn record_try_benchmark_request_without_artifacts(
9696
conn: &dyn database::pool::Connection,
9797
pr: u32,
9898
backends: &str,
99+
profiles: &str,
99100
) -> String {
100-
let try_request = BenchmarkRequest::create_try_without_artifacts(pr, backends, "");
101+
let try_request = BenchmarkRequest::create_try_without_artifacts(pr, backends, profiles);
101102
log::info!("Inserting try benchmark request {try_request:?}");
102103

103104
match conn.insert_benchmark_request(&try_request).await {
@@ -155,6 +156,7 @@ async fn handle_rust_timer(
155156
&*conn,
156157
issue.number,
157158
cmd.params.backends.unwrap_or(""),
159+
cmd.params.profiles.unwrap_or(""),
158160
)
159161
.await
160162
} else {
@@ -203,6 +205,7 @@ async fn handle_rust_timer(
203205
&*conn,
204206
issue.number,
205207
command.params.backends.unwrap_or(""),
208+
command.params.profiles.unwrap_or(""),
206209
)
207210
.await;
208211
} else {

0 commit comments

Comments
 (0)