Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3125)

Unified Diff: benchmarks/run.html

Issue 12865: Benchmark precision (Closed)
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: benchmarks/run.html
diff --git a/benchmarks/run.html b/benchmarks/run.html
index 01cadc0d2f538c9fed2c08f5cd1a667f8bbc257a..d521e0b37c52607f57d221002114becf92fa0d5a 100644
--- a/benchmarks/run.html
+++ b/benchmarks/run.html
@@ -21,7 +21,7 @@ function ShowProgress(name) {
function AddResult(name, result) {
- var text = name + ': ' + result;
+ var text = name + ': ' + formatScore(result);
var results = document.getElementById("results");
results.innerHTML += (text + "<br/>");
}
@@ -36,7 +36,7 @@ function AddError(name, error) {
function AddScore(score) {
var status = document.getElementById("status");
if (success) {
- status.innerHTML = "Score: " + score;
+ status.innerHTML = "Score: " + formatScore(score);
}
}
« benchmarks/base.js ('K') | « benchmarks/base.js ('k') | benchmarks/run.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698