Skip to content

Commit ba180b5

Browse files
authored
More consistent metric reporting (#175)
- Drop the legacy mapping - Use "Wall-Time" instead of "Wall time"
1 parent 435c2b9 commit ba180b5

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

JetStreamDriver.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,25 +1125,14 @@ class Benchmark {
11251125
}
11261126

11271127
updateConsoleAfterRun(scoreEntries) {
1128-
// FIXME: consider removing this mapping.
1129-
// Rename for backwards compatibility.
1130-
const legacyScoreNameMap = {
1131-
__proto__: null,
1132-
"First": "Startup",
1133-
"Worst": "Worst Case",
1134-
"MainRun": "Tests",
1135-
"Runtime": "Run time",
1136-
};
11371128
for (let [name, value] of scoreEntries) {
1138-
if (name in legacyScoreNameMap)
1139-
name = legacyScoreNameMap[name];
11401129
console.log(` ${name}:`, uiFriendlyScore(value));
11411130
}
11421131
if (RAMification) {
11431132
console.log(" Current Footprint:", uiFriendlyNumber(this.currentFootprint));
11441133
console.log(" Peak Footprint:", uiFriendlyNumber(this.peakFootprint));
11451134
}
1146-
console.log(" Wall time:", uiFriendlyDuration(this.endTime - this.startTime));
1135+
console.log(" Wall-Time:", uiFriendlyDuration(this.endTime - this.startTime));
11471136
}
11481137
};
11491138

0 commit comments

Comments
 (0)