Skip to content

Commit f8d3134

Browse files
committed
fix(bench-build): fix chart
1 parent 6f6409c commit f8d3134

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/bench-build-charts.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def make_chart_with_runs(
439439
}[self._projects[run.project]]
440440
+ (
441441
["bar-label-very-small"]
442-
if "test_utf_8" in run.benchmark_name
442+
if "diagnostic_types.rs" in run.benchmark_name
443443
else []
444444
),
445445
),
@@ -449,6 +449,7 @@ def make_chart_with_runs(
449449
if is_incremental_chart
450450
else "Rust full builds: <tspan class='color-1-of-3'>workspace layout</tspan> is fastest",
451451
subtitle="tested on Linux. lower is better.",
452+
force_maximum_value=3100000000 if is_incremental_chart else None,
452453
groups=[
453454
BarChartGroup(
454455
name=group_name,
@@ -846,7 +847,7 @@ def make_chart_with_runs(
846847
),
847848
)
848849
chart = BarChart(
849-
name="Linux: <tspan class='color-1-of-2'>Rust</tspan> usually builds faster than <tspan class='color-2-of-2'>C++</tspan>"
850+
name="Linux: <tspan class='color-1-of-2'>Rust</tspan> sometimes builds faster than <tspan class='color-2-of-2'>C++</tspan>"
850851
if hostname == "strapurp"
851852
else "macOS: <tspan class='color-2-of-2'>C++</tspan> usually builds faster than <tspan class='color-1-of-2'>Rust</tspan>",
852853
subtitle=f"lower is better.",

0 commit comments

Comments
 (0)