OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #if defined(OS_MACOSX) | 7 #if defined(OS_MACOSX) |
8 #include "base/mac/mac_util.h" | 8 #include "base/mac/mac_util.h" |
9 #endif | 9 #endif |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 // cannot get any better than (lower) 33.33 ms. | 215 // cannot get any better than (lower) 33.33 ms. |
216 EXPECT_TRUE(PrintResults(analyzer.get(), | 216 EXPECT_TRUE(PrintResults(analyzer.get(), |
217 test_name, | 217 test_name, |
218 "Capture", | 218 "Capture", |
219 "ms")); | 219 "ms")); |
220 } | 220 } |
221 }; | 221 }; |
222 | 222 |
223 } // namespace | 223 } // namespace |
224 | 224 |
225 IN_PROC_BROWSER_TEST_P(TabCapturePerformanceTest, Performance) { | 225 // crbug.com/377089 |
| 226 IN_PROC_BROWSER_TEST_P(TabCapturePerformanceTest, DISABLED_Performance) { |
226 RunTest("TabCapturePerformance"); | 227 RunTest("TabCapturePerformance"); |
227 } | 228 } |
228 | 229 |
229 // Note: First argument is optional and intentionally left blank. | 230 // Note: First argument is optional and intentionally left blank. |
230 // (it's a prefix for the generated test cases) | 231 // (it's a prefix for the generated test cases) |
231 INSTANTIATE_TEST_CASE_P( | 232 INSTANTIATE_TEST_CASE_P( |
232 , | 233 , |
233 TabCapturePerformanceTest, | 234 TabCapturePerformanceTest, |
234 testing::Values( | 235 testing::Values( |
235 0, | 236 0, |
(...skipping 19 matching lines...) Expand all Loading... |
255 TabCapturePerformanceTest, | 256 TabCapturePerformanceTest, |
256 testing::Values( | 257 testing::Values( |
257 kScalingTestBase | kScaleQualityFast, | 258 kScalingTestBase | kScaleQualityFast, |
258 kScalingTestBase | kScaleQualityGood, | 259 kScalingTestBase | kScaleQualityGood, |
259 kScalingTestBase | kScaleQualityBest, | 260 kScalingTestBase | kScaleQualityBest, |
260 kScalingTestBase | kScaleQualityFast | kSmallWindow, | 261 kScalingTestBase | kScaleQualityFast | kSmallWindow, |
261 kScalingTestBase | kScaleQualityGood | kSmallWindow, | 262 kScalingTestBase | kScaleQualityGood | kSmallWindow, |
262 kScalingTestBase | kScaleQualityBest | kSmallWindow)); | 263 kScalingTestBase | kScaleQualityBest | kSmallWindow)); |
263 | 264 |
264 #endif // USE_AURA | 265 #endif // USE_AURA |
OLD | NEW |