File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ pub async fn bench_runtime(
46
46
continue ;
47
47
}
48
48
49
+ let mut tx = conn. transaction ( ) . await ;
49
50
for message in execute_runtime_benchmark_binary ( & group. binary , & filter, iterations) ? {
50
51
let message = message. map_err ( |err| {
51
52
anyhow:: anyhow!(
@@ -63,7 +64,7 @@ pub async fn bench_runtime(
63
64
64
65
print_stats ( & result) ;
65
66
record_stats (
66
- conn . as_ref ( ) ,
67
+ tx . conn ( ) ,
67
68
collector. artifact_row_id ,
68
69
& rustc_perf_version,
69
70
result,
@@ -73,7 +74,10 @@ pub async fn bench_runtime(
73
74
}
74
75
}
75
76
76
- collector. end_runtime_step ( conn. as_mut ( ) , & group) . await ;
77
+ collector. end_runtime_step ( tx. conn ( ) , & group) . await ;
78
+ tx. commit ( )
79
+ . await
80
+ . expect ( "Cannot commit runtime benchmark group results" ) ;
77
81
}
78
82
79
83
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments