summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantonm@google.com <antonm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 13:25:07 +0000
committerantonm@google.com <antonm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 13:25:07 +0000
commitc822b0f0ea0e349841ff2db0393d9a9b96e60712 (patch)
tree646aa2c62f748497853f1af812ba28d8803f1f55
parent3bc604361ddd04952d58a602c6583718627bdf47 (diff)
downloadchromium_src-c822b0f0ea0e349841ff2db0393d9a9b96e60712.zip
chromium_src-c822b0f0ea0e349841ff2db0393d9a9b96e60712.tar.gz
chromium_src-c822b0f0ea0e349841ff2db0393d9a9b96e60712.tar.bz2
Drop leading score: score line.
Review URL: http://codereview.chromium.org/865003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41429 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/ui/dromaeo_benchmark_uitest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/test/ui/dromaeo_benchmark_uitest.cc b/chrome/test/ui/dromaeo_benchmark_uitest.cc
index fa13ce6..a5599e8 100644
--- a/chrome/test/ui/dromaeo_benchmark_uitest.cc
+++ b/chrome/test/ui/dromaeo_benchmark_uitest.cc
@@ -104,15 +104,16 @@ class DromaeoTest : public UITest {
std::string trace_name = reference_ ? "score_ref" : "score";
std::string unit_name = "runs/s";
- PrintResult("score", "", trace_name, score, unit_name, true);
-
ResultsMap::const_iterator it = results.begin();
+ // First result is overall score and thus "important".
+ bool important = true;
for (; it != results.end(); ++it) {
std::string test_name = it->first;
for (size_t i = 0; i < test_name.length(); i++)
if (!isalnum(test_name[i]))
test_name[i] = '_';
- PrintResult(test_name, "", trace_name, it->second, unit_name, false);
+ PrintResult(test_name, "", trace_name, it->second, unit_name, important);
+ important = false; // All others are not overall scores.
}
}