Skip to content

Commit 0791fd4

Browse files
fix: restore exact total_ms check instead of endsWith
1 parent b054467 commit 0791fd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bench/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@
800800
const datasets = sorted.map((item, i) => {
801801
const color = colors[i % colors.length];
802802
const metricName = item.fullKey.split("/").pop();
803-
const isTotal = metricName.endsWith("total_ms");
803+
const isTotal = metricName === "total_ms";
804804
const valueMap = new Map();
805805
item.benches.forEach((entry) => {
806806
valueMap.set(entry.commit.id, entry.bench.value);

0 commit comments

Comments
 (0)