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

Unified Diff: chrome/test/live_sync/performance/sync_timing_helper.h

Issue 7464046: Sync performance tests: Cleanup TODOs and print in dashboard friendly format (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add benchmark points TODO to all datatypes Created 9 years, 5 months 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: chrome/test/live_sync/performance/sync_timing_helper.h
diff --git a/chrome/test/live_sync/performance/sync_timing_helper.h b/chrome/test/live_sync/performance/sync_timing_helper.h
index c45b3676fd5924d41ce0223e76b637f036292fad..6dfc0035ea534d0a45a5dd13d5663340ca307d46 100644
--- a/chrome/test/live_sync/performance/sync_timing_helper.h
+++ b/chrome/test/live_sync/performance/sync_timing_helper.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
+#include <string>
#include <vector>
namespace base {
@@ -34,6 +35,13 @@ class SyncTimingHelper {
static base::TimeDelta TimeUntilQuiescence(
std::vector<ProfileSyncServiceHarness*>& clients);
+ // Print a timing measurement in a format appropriate for the chromium perf
+ // dashboard. Simplified version of methods defined in
+ // chrome/test/ui/ui_perf_test.{h,cc}.
+ static void PrintResult(const std::string& measurement,
+ const std::string& trace,
+ const base::TimeDelta& dt);
+
private:
DISALLOW_COPY_AND_ASSIGN(SyncTimingHelper);
};
« no previous file with comments | « chrome/test/live_sync/performance/passwords_sync_perf_test.cc ('k') | chrome/test/live_sync/performance/sync_timing_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698