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

Side by Side Diff: chrome/test/perf/startup_test.cc

Issue 23509002: Factor out a perf test result printer method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/perf/shutdown_test.cc ('k') | chrome/test/perf/tab_switching_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/environment.h" 5 #include "base/environment.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/files/file_enumerator.h" 7 #include "base/files/file_enumerator.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/common/env_vars.h" 21 #include "chrome/common/env_vars.h"
22 #include "chrome/test/automation/automation_proxy.h" 22 #include "chrome/test/automation/automation_proxy.h"
23 #include "chrome/test/base/test_switches.h" 23 #include "chrome/test/base/test_switches.h"
24 #include "chrome/test/base/testing_profile.h" 24 #include "chrome/test/base/testing_profile.h"
25 #include "chrome/test/base/ui_test_utils.h" 25 #include "chrome/test/base/ui_test_utils.h"
26 #include "chrome/test/perf/perf_test.h" 26 #include "chrome/test/perf/perf_test.h"
27 #include "chrome/test/perf/perf_ui_test_suite.h" 27 #include "chrome/test/perf/perf_ui_test_suite.h"
28 #include "chrome/test/ui/ui_perf_test.h" 28 #include "chrome/test/ui/ui_perf_test.h"
29 #include "content/public/common/content_switches.h" 29 #include "content/public/common/content_switches.h"
30 #include "net/base/net_util.h" 30 #include "net/base/net_util.h"
31 #include "testing/perf/perf_test.h"
31 32
32 using base::TimeDelta; 33 using base::TimeDelta;
33 using base::TimeTicks; 34 using base::TimeTicks;
34 35
35 namespace { 36 namespace {
36 37
37 class StartupTest : public UIPerfTest { 38 class StartupTest : public UIPerfTest {
38 public: 39 public:
39 StartupTest() { 40 StartupTest() {
40 show_window_ = true; 41 show_window_ = true;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 } 473 }
473 474
474 TEST_F(StartupTest, ProfilingScript1) { 475 TEST_F(StartupTest, ProfilingScript1) {
475 SetUpWithFileURL(); 476 SetUpWithFileURL();
476 SetUpWithProfiling(); 477 SetUpWithProfiling();
477 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT, 478 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT,
478 PerfUITestSuite::DEFAULT_THEME, 1, 0); 479 PerfUITestSuite::DEFAULT_THEME, 1, 0);
479 } 480 }
480 481
481 } // namespace 482 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/perf/shutdown_test.cc ('k') | chrome/test/perf/tab_switching_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698