|
Use LapTimer in rasterize_and_record micro benchmark.
Timing record or rasterize on very small layers can be problematic. The
operations are very short and timing them individually can lead to quantization.
Use a LapTimer to run the operations we're timing for at least a specified
amount of time to avoid this problem.
Moves LapTimer from cc/test to cc/debug so it's accessible outside of testing
code.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270170
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+66 lines, -191 lines) |
Patch |
 |
M |
cc/cc.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc_tests.gyp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A + |
cc/debug/lap_timer.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
cc/debug/lap_timer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/debug/rasterize_and_record_benchmark.cc
|
View
|
1
2
|
3 chunks |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/debug/rasterize_and_record_benchmark_impl.cc
|
View
|
1
2
|
3 chunks |
+29 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_impl_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/raster_worker_pool_perftest.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/task_graph_runner_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager_perftest.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
cc/test/lap_timer.h
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
cc/test/lap_timer.cc
|
View
|
|
1 chunk |
+0 lines, -81 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker_perftest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|