Skip to content

Commit fddf491

Browse files
authored
Merge pull request #638 from vitessio/fix-error-badge-color
fix color of the error badge when comparing two benchmarks
2 parents 95b8322 + 2bd9b71 commit fddf491

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/src/common/MacroBenchmarkTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ const getDeltaBadgeVariant = (key: string, delta: number, p: number) => {
9090
if (
9191
key.includes("CpuTime") ||
9292
key.includes("Mem") ||
93-
key.includes("latency")
93+
key.includes("latency") ||
94+
key.includes("errors")
9495
) {
9596
if (delta < 0) {
9697
return "success";

0 commit comments

Comments
 (0)