Skip to content

Commit 1e003dd

Browse files
committed
clean up and fix
1 parent 74f75d3 commit 1e003dd

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

perf-tester/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

perf-tester/src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ async function run(octokit, context, token) {
6767
endGroup();
6868

6969
const diff = toDiff(oldBenchmarks, newBenchmarks);
70-
startGroup(`Size Differences:`);
71-
endGroup();
7270

7371
const markdownDiff = diffTable(diff, {
7472
collapseUnchanged: true,

perf-tester/src/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export function diffTable(tests, { showTotal, collapseUnchanged, omitUnchanged,
185185

186186
const columns = [
187187
name,
188-
prettyBytes(time),
188+
ms(time),
189189
getDeltaText(delta, difference),
190190
iconForDifference(difference)
191191
];
@@ -207,7 +207,7 @@ export function diffTable(tests, { showTotal, collapseUnchanged, omitUnchanged,
207207
const totalDifference = ((totalDelta / totalTime) * 100) | 0;
208208
let totalDeltaText = getDeltaText(totalDelta, totalDifference);
209209
let totalIcon = iconForDifference(totalDifference);
210-
out = `**Total Size:** ${prettyBytes(totalTime)}\n\n${out}`;
210+
out = `**Total Size:** ${ms(totalTime)}\n\n${out}`;
211211
out = `**Size Change:** ${totalDeltaText} ${totalIcon}\n\n${out}`;
212212
}
213213

0 commit comments

Comments
 (0)