OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <map> | 5 #include <map> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #if defined(OS_MACOSX) | 10 #if defined(OS_MACOSX) |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 "ms"); | 653 "ms"); |
654 | 654 |
655 receiver->Analyze(test_name, GetSuffixForTestFlags()); | 655 receiver->Analyze(test_name, GetSuffixForTestFlags()); |
656 | 656 |
657 AnalyzeLatency(test_name, analyzer.get()); | 657 AnalyzeLatency(test_name, analyzer.get()); |
658 } | 658 } |
659 }; | 659 }; |
660 | 660 |
661 } // namespace | 661 } // namespace |
662 | 662 |
663 IN_PROC_BROWSER_TEST_P(CastV2PerformanceTest, Performance) { | 663 // crbug.com/356842 |
| 664 IN_PROC_BROWSER_TEST_P(CastV2PerformanceTest, DISABLED_Performance) { |
664 RunTest("CastV2Performance"); | 665 RunTest("CastV2Performance"); |
665 } | 666 } |
666 | 667 |
667 // Note: First argument is optional and intentionally left blank. | 668 // Note: First argument is optional and intentionally left blank. |
668 // (it's a prefix for the generated test cases) | 669 // (it's a prefix for the generated test cases) |
669 INSTANTIATE_TEST_CASE_P( | 670 INSTANTIATE_TEST_CASE_P( |
670 , | 671 , |
671 CastV2PerformanceTest, | 672 CastV2PerformanceTest, |
672 testing::Values( | 673 testing::Values( |
673 kUseGpu | k24fps, | 674 kUseGpu | k24fps, |
674 kUseGpu | k30fps, | 675 kUseGpu | k30fps, |
675 kUseGpu | k60fps, | 676 kUseGpu | k60fps, |
676 kUseGpu | k24fps | kDisableVsync, | 677 kUseGpu | k24fps | kDisableVsync, |
677 kUseGpu | k30fps | kProxyWifi, | 678 kUseGpu | k30fps | kProxyWifi, |
678 kUseGpu | k30fps | kProxyEvil, | 679 kUseGpu | k30fps | kProxyEvil, |
679 kUseGpu | k30fps | kSlowClock, | 680 kUseGpu | k30fps | kSlowClock, |
680 kUseGpu | k30fps | kFastClock)); | 681 kUseGpu | k30fps | kFastClock)); |
OLD | NEW |