Skip to content

Commit

Permalink
switched to Mgas
Browse files Browse the repository at this point in the history
  • Loading branch information
mokelgit committed May 5, 2024
1 parent 0f6787e commit 65642db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/layout/ChainChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export default function ChainChart({
}
} else {
if (key === "throughput") {
suffix = "mgas/s";
suffix = "Mgas/s";
}
}

Expand Down Expand Up @@ -538,7 +538,7 @@ export default function ChainChart({
}

if (metricKey === "throughput") {
suffix = "mgas/s";
suffix = "Mgas/s";
}
// if (series.name === item.chain_name) {
return `
Expand Down
4 changes: 2 additions & 2 deletions components/layout/ComparisonChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ export default function ComparisonChart({
}

if (metric_id === "throughput") {
suffix = " mgas/s";
suffix = " Mgas/s";
}

return `
Expand Down Expand Up @@ -563,7 +563,7 @@ export default function ComparisonChart({
let suffix = "";
let value = pointsSum;
if (metric_id === "throughput") {
suffix = " mgas/s";
suffix = " Mgas/s";
}

const sumRow =
Expand Down
2 changes: 1 addition & 1 deletion components/layout/MetricsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ const MetricsTable = ({
}
} else {
if (metric_id === "throughput") {
suffix = "mgas/s";
suffix = "Mgas/s";
}
}
return { value, prefix, suffix };
Expand Down

0 comments on commit 65642db

Please sign in to comment.