-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store times and scores explicitly #16
Conversation
What's the goal here? I think I'm missing some context. |
I want to make the units explicit and make sure we have time+score everywhere available for consistency. Preparing this should make it a bit easier in the future whether we want to switch to times and only have a global score or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, gotcha, I'm mostly indifferent on time vs score as mention previously. Maybe for now we could print the times too for CLIs?
summaryElement.onclick = displayCategoryScores; | ||
if (showScoreDetails) | ||
displayCategoryScores(); | ||
statusElement.innerHTML = ''; | ||
} else if (!dumpJSONResults) { | ||
console.log("\n"); | ||
for (let [category, scores] of categoryScores) | ||
console.log(`${category}: ${uiFriendlyNumber(geomean(scores))}`); | ||
console.log(`${category}: ${uiFriendlyScore(geomean(scores))}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g. can we do ${category}: ${uiFriendlyScore(geomean(scores))}, ${uiFriendlyDuration(geomean(times))}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can do this in a follow up PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Prepare the benchmarks for more flexible result calculation and visualisations: