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

Side by Side Diff: cc/ipc/cc_serialization_perftest.cc

Issue 2691943003: Disable test in cc_perftest (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <utility> 5 #include <utility>
6 6
7 #include "base/test/launcher/unit_test_launcher.h" 7 #include "base/test/launcher/unit_test_launcher.h"
8 #include "base/test/test_suite.h" 8 #include "base/test/test_suite.h"
9 #include "cc/ipc/cc_param_traits.h" 9 #include "cc/ipc/cc_param_traits.h"
10 #include "cc/ipc/compositor_frame.mojom.h" 10 #include "cc/ipc/compositor_frame.mojom.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 UseSingleSharedQuadState::NO); 279 UseSingleSharedQuadState::NO);
280 } 280 }
281 281
282 // Test for compositor frames with 100 render pass and each with 4000 quads. 282 // Test for compositor frames with 100 render pass and each with 4000 quads.
283 TEST_F(CCSerializationPerfTest, DelegatedFrame_ManyQuads_100_4000) { 283 TEST_F(CCSerializationPerfTest, DelegatedFrame_ManyQuads_100_4000) {
284 // One shared quad state for all quads in one render pass. 284 // One shared quad state for all quads in one render pass.
285 RunCompositorFrameTest("DelegatedFrame_ManyQuads_100_4000", 4000, 100, 285 RunCompositorFrameTest("DelegatedFrame_ManyQuads_100_4000", 4000, 100,
286 UseSingleSharedQuadState::YES); 286 UseSingleSharedQuadState::YES);
287 } 287 }
288 288
289 #if defined(OS_ANDROID)
jbudorick 2017/02/13 22:29:30 nit: Add a comment that briefly says why this is d
martiniss 2017/02/13 22:35:38 Done
290 #define MAYBE_DelegatedFrame_ManyQuads_10_100000 \
291 DISABLED_DelegatedFrame_ManyQuads_10_100000
292 #else
293 #define MAYBE_DelegatedFrame_ManyQuads_10_100000 \
294 DelegatedFrame_ManyQuads_10_100000
295 #endif
289 // Test for compositor frames with 10 render pass and each with 100000 quads. 296 // Test for compositor frames with 10 render pass and each with 100000 quads.
290 TEST_F(CCSerializationPerfTest, DelegatedFrame_ManyQuads_10_100000) { 297 TEST_F(CCSerializationPerfTest, MAYBE_DelegatedFrame_ManyQuads_10_100000) {
291 // One shared quad state for all quads in one render pass. 298 // One shared quad state for all quads in one render pass.
292 RunCompositorFrameTest("DelegatedFrame_ManyQuads_10_100000", 100000, 10, 299 RunCompositorFrameTest("DelegatedFrame_ManyQuads_10_100000", 100000, 10,
293 UseSingleSharedQuadState::YES); 300 UseSingleSharedQuadState::YES);
294 } 301 }
295 302
296 // Test for compositor frames with 5 render pass and each with 100 quads. 303 // Test for compositor frames with 5 render pass and each with 100 quads.
297 TEST_F(CCSerializationPerfTest, DelegatedFrame_ManyRenderPasses_5_100) { 304 TEST_F(CCSerializationPerfTest, DelegatedFrame_ManyRenderPasses_5_100) {
298 // Case 1: One shared quad state for all quads in one render pass. 305 // Case 1: One shared quad state for all quads in one render pass.
299 RunCompositorFrameTest("DelegatedFrame_ManyRenderPasses_5_100", 100, 5, 306 RunCompositorFrameTest("DelegatedFrame_ManyRenderPasses_5_100", 100, 5,
300 UseSingleSharedQuadState::YES); 307 UseSingleSharedQuadState::YES);
(...skipping 17 matching lines...) Expand all
318 // Case 1: One shared quad state for all quads in one render pass. 325 // Case 1: One shared quad state for all quads in one render pass.
319 RunCompositorFrameTest("DelegatedFrame_ManyRenderPasses_1000_100", 100, 1000, 326 RunCompositorFrameTest("DelegatedFrame_ManyRenderPasses_1000_100", 100, 1000,
320 UseSingleSharedQuadState::YES); 327 UseSingleSharedQuadState::YES);
321 // Case 2: One shared quad state for each quad. 328 // Case 2: One shared quad state for each quad.
322 RunCompositorFrameTest("DelegatedFrame_ManyRenderPasses_1000_100", 100, 1000, 329 RunCompositorFrameTest("DelegatedFrame_ManyRenderPasses_1000_100", 100, 1000,
323 UseSingleSharedQuadState::NO); 330 UseSingleSharedQuadState::NO);
324 } 331 }
325 332
326 } // namespace 333 } // namespace
327 } // namespace cc 334 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698