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

Side by Side Diff: cc/trees/layer_tree_host_common_perftest.cc

Issue 279183002: Use LapTimer in rasterize_and_record micro benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CC_EXPORT to LapTimer class. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/lap_timer.cc ('k') | cc/trees/layer_tree_host_perftest.cc » ('j') | 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 "cc/trees/layer_tree_host_common.h" 5 #include "cc/trees/layer_tree_host_common.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "cc/debug/lap_timer.h"
15 #include "cc/layers/layer.h" 16 #include "cc/layers/layer.h"
16 #include "cc/test/fake_content_layer_client.h" 17 #include "cc/test/fake_content_layer_client.h"
17 #include "cc/test/fake_layer_tree_host_client.h" 18 #include "cc/test/fake_layer_tree_host_client.h"
18 #include "cc/test/lap_timer.h"
19 #include "cc/test/layer_tree_json_parser.h" 19 #include "cc/test/layer_tree_json_parser.h"
20 #include "cc/test/layer_tree_test.h" 20 #include "cc/test/layer_tree_test.h"
21 #include "cc/test/paths.h" 21 #include "cc/test/paths.h"
22 #include "cc/trees/layer_tree_impl.h" 22 #include "cc/trees/layer_tree_impl.h"
23 #include "testing/perf/perf_test.h" 23 #include "testing/perf/perf_test.h"
24 24
25 namespace cc { 25 namespace cc {
26 namespace { 26 namespace {
27 27
28 static const int kTimeLimitMillis = 2000; 28 static const int kTimeLimitMillis = 2000;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 192
193 TEST_F(CalcDrawPropsImplTest, TouchRegionHeavy) { 193 TEST_F(CalcDrawPropsImplTest, TouchRegionHeavy) {
194 SetTestName("touch_region_heavy"); 194 SetTestName("touch_region_heavy");
195 ReadTestFile("touch_region_heavy"); 195 ReadTestFile("touch_region_heavy");
196 RunCalcDrawProps(); 196 RunCalcDrawProps();
197 } 197 }
198 198
199 } // namespace 199 } // namespace
200 } // namespace cc 200 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/lap_timer.cc ('k') | cc/trees/layer_tree_host_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698