Skip to content

Commit 72ea251

Browse files
Fix finding maximum for check runs
1 parent 499db22 commit 72ea251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub fn handle_graph(body: graph::Request, data: &InputData) -> ServerResult<grap
198198

199199
let mut maxes = HashMap::with_capacity(result.len());
200200
for (ref crate_name, ref benchmarks) in &result {
201-
let name = crate_name.replace("-opt", "");
201+
let name = crate_name.replace("-opt", "").replace("-check", "");
202202
let mut max = 0.0f64;
203203
for points in benchmarks.values() {
204204
for point in points {

0 commit comments

Comments
 (0)