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

Unified Diff: chrome/test/perf/browser_perf_test.h

Issue 8883005: Input latency performance test that uses tracing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win link error fix Created 9 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
« no previous file with comments | « chrome/test/data/perf/latency_suite.html ('k') | chrome/test/perf/browser_perf_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/browser_perf_test.h
diff --git a/chrome/test/perf/browser_perf_test.h b/chrome/test/perf/browser_perf_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..282d88cd289b0a9254da1aa787a87fd7fcff0a05
--- /dev/null
+++ b/chrome/test/perf/browser_perf_test.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_TEST_PERF_BROWSER_PERF_TEST_H_
+#define CHROME_TEST_PERF_BROWSER_PERF_TEST_H_
+#pragma once
+
+#include "chrome/test/base/in_process_browser_test.h"
+
+class CommandLine;
+
+class BrowserPerfTest : public InProcessBrowserTest {
+ public:
+ BrowserPerfTest();
+ virtual ~BrowserPerfTest();
+
+ // Set up common browser perf test flags. Typically call down to this if
+ // overridden.
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
+
+ // Prints IO performance data for use by perf graphs.
+ void PrintIOPerfInfo(const std::string& test_name);
+
+ // Prints memory usage data for use by perf graphs.
+ void PrintMemoryUsageInfo(const std::string& test_name);
+};
+
+#endif // CHROME_TEST_PERF_BROWSER_PERF_TEST_H_
« no previous file with comments | « chrome/test/data/perf/latency_suite.html ('k') | chrome/test/perf/browser_perf_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698