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 "cc/resources/raster_worker_pool.h" | 5 #include "cc/resources/raster_worker_pool.h" |
6 | 6 |
7 #include "base/time.h" | 7 #include "base/time/time.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 static const int kTimeLimitMillis = 2000; | 14 static const int kTimeLimitMillis = 2000; |
15 static const int kWarmupRuns = 5; | 15 static const int kWarmupRuns = 5; |
16 static const int kTimeCheckInterval = 10; | 16 static const int kTimeCheckInterval = 10; |
17 | 17 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 RunBuildTaskGraphTest("build_task_graph_100_4", 100, 4); | 191 RunBuildTaskGraphTest("build_task_graph_100_4", 100, 4); |
192 RunBuildTaskGraphTest("build_task_graph_1000_4", 1000, 4); | 192 RunBuildTaskGraphTest("build_task_graph_1000_4", 1000, 4); |
193 RunBuildTaskGraphTest("build_task_graph_10_16", 10, 16); | 193 RunBuildTaskGraphTest("build_task_graph_10_16", 10, 16); |
194 RunBuildTaskGraphTest("build_task_graph_100_16", 100, 16); | 194 RunBuildTaskGraphTest("build_task_graph_100_16", 100, 16); |
195 RunBuildTaskGraphTest("build_task_graph_1000_16", 1000, 16); | 195 RunBuildTaskGraphTest("build_task_graph_1000_16", 1000, 16); |
196 } | 196 } |
197 | 197 |
198 } // namespace | 198 } // namespace |
199 | 199 |
200 } // namespace cc | 200 } // namespace cc |
OLD | NEW |