Chromium Code Reviews| Index: tools/perf/perf_tools/scrolling_benchmark.py |
| diff --git a/tools/perf/perf_tools/scrolling_benchmark.py b/tools/perf/perf_tools/scrolling_benchmark.py |
| index 288efb129954ac50710b0f6515173b1a16cc37f9..07960e484987a1d878172497682b98e3d3a76c3c 100644 |
| --- a/tools/perf/perf_tools/scrolling_benchmark.py |
| +++ b/tools/perf/perf_tools/scrolling_benchmark.py |
| @@ -41,6 +41,7 @@ class ScrollingBenchmark(multi_page_benchmark.MultiPageBenchmark): |
| scroll_js_path = os.path.join(os.path.dirname(__file__), 'scroll.js') |
| scroll_js = open(scroll_js_path, 'r').read() |
| + tab.browser.platform.StartSurfaceCollector() |
|
tonyg
2012/10/19 00:47:19
Move this below Execute(scroll_js) while keeping i
bulach
2012/10/22 15:57:14
Done.
|
| # Run scroll test. |
| tab.runtime.Execute(scroll_js) |
| @@ -66,6 +67,8 @@ class ScrollingBenchmark(multi_page_benchmark.MultiPageBenchmark): |
| util.WaitFor(lambda: tab.runtime.Evaluate( |
| 'window.__renderingStatsDeltas'), 60) |
| + tab.browser.platform.StopSurfaceCollector() |
| + |
| rendering_stats_deltas = tab.runtime.Evaluate( |
| 'window.__renderingStatsDeltas') |