| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/file_util.h" | 5 #include "base/file_util.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "base/perftimer.h" | 7 #include "base/perftimer.h" |
| 8 #include "base/time.h" | 8 #include "base/time.h" |
| 9 #include "chrome/app/chrome_dll_resource.h" | 9 #include "chrome/app/chrome_dll_resource.h" |
| 10 #include "chrome/common/chrome_paths.h" | 10 #include "chrome/common/chrome_paths.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 delete window; | 83 delete window; |
| 84 UITest::TearDown(); | 84 UITest::TearDown(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 PrintTimings(label, timings, important); | 87 PrintTimings(label, timings, important); |
| 88 } | 88 } |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 // TODO(pamg): run these tests with a reference build? | 91 // TODO(pamg): run these tests with a reference build? |
| 92 TEST_F(NewTabUIStartupTest, PerfCold) { | 92 TEST_F(NewTabUIStartupTest, PerfCold) { |
| 93 RunStartupTest("tab_cold", false /* not cold */, true /* important */); | 93 RunStartupTest("tab_cold", false /* cold */, true /* important */); |
| 94 } | 94 } |
| 95 | 95 |
| 96 TEST_F(NewTabUIStartupTest, DISABLED_PerfWarm) { | 96 TEST_F(NewTabUIStartupTest, DISABLED_PerfWarm) { |
| 97 RunStartupTest("tab_warm", true /* cold */, false /* not important */); | 97 RunStartupTest("tab_warm", true /* warm */, false /* not important */); |
| 98 } | 98 } |
| 99 | 99 |
| 100 } // namespace | 100 } // namespace |
| OLD | NEW |