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

Unified Diff: benchmarks/run.js

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
« benchmarks/base.js ('K') | « benchmarks/run.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmarks/run.js
diff --git a/benchmarks/run.js b/benchmarks/run.js
index da2373b84252447dea31648ca4bd8a9d00a967fc..ecfee90c6b718fe806f4a4451b6875002cbbab59 100644
--- a/benchmarks/run.js
+++ b/benchmarks/run.js
@@ -36,7 +36,7 @@ load('earley-boyer.js');
var success = true;
function PrintResult(name, result) {
- print(name + ': ' + result);
+ print(name + ': ' + formatScore(result));
}
@@ -49,7 +49,8 @@ function PrintError(name, error) {
function PrintScore(score) {
if (success) {
print('----');
- print('Score (version ' + BenchmarkSuite.version + '): ' + score);
+ print('Score (version ' + BenchmarkSuite.version + '): '
+ + formatScore(score));
}
}
« benchmarks/base.js ('K') | « benchmarks/run.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698