Skip to content

Commit 3db87be

Browse files
authored
More consistent total score printing (#213)
Use the same label formatting for "Total" metrics as for line items.
1 parent a924d89 commit 3db87be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

JetStreamDriver.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,17 +332,17 @@ class Driver {
332332
console.log("Total:");
333333
for (let [category, scores] of categoryScores) {
334334
console.log(
335-
shellFriendlyLabel(`${category}-Score`),
335+
shellFriendlyLabel(`Total ${category}-Score`),
336336
shellFriendlyScore(geomeanScore(scores)));
337337
}
338338
for (let [category, times] of categoryTimes) {
339339
console.log(
340-
shellFriendlyLabel(`${category}-Time`),
340+
shellFriendlyLabel(`Total ${category}-Time`),
341341
shellFriendlyDuration(geomeanScore(times)));
342342
}
343343
console.log("");
344-
console.log(shellFriendlyLabel("Total-Score"), shellFriendlyScore(totalScore));
345-
console.log(shellFriendlyLabel("Total-Time"), shellFriendlyDuration(totalTime));
344+
console.log(shellFriendlyLabel("Total Score"), shellFriendlyScore(totalScore));
345+
console.log(shellFriendlyLabel("Total Time"), shellFriendlyDuration(totalTime));
346346
console.log("");
347347
}
348348

0 commit comments

Comments
 (0)