| 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 d472a2ac8efe0e016af4bc51594dc9862c29d1a7..929758d33ec157b7313353fcfa805f6fdd6f9f3a 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()
|
| # 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')
|
|
|
|
|