Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions JetStreamDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1125,25 +1125,14 @@ class Benchmark {
}

updateConsoleAfterRun(scoreEntries) {
// FIXME: consider removing this mapping.
// Rename for backwards compatibility.
const legacyScoreNameMap = {
__proto__: null,
"First": "Startup",
"Worst": "Worst Case",
"MainRun": "Tests",
"Runtime": "Run time",
};
for (let [name, value] of scoreEntries) {
if (name in legacyScoreNameMap)
name = legacyScoreNameMap[name];
console.log(` ${name}:`, uiFriendlyScore(value));
}
if (RAMification) {
console.log(" Current Footprint:", uiFriendlyNumber(this.currentFootprint));
console.log(" Peak Footprint:", uiFriendlyNumber(this.peakFootprint));
}
console.log(" Wall time:", uiFriendlyDuration(this.endTime - this.startTime));
console.log(" Wall-Time:", uiFriendlyDuration(this.endTime - this.startTime));
}
};

Expand Down
Loading