Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 from telemetry.page import legacy_page_test | 5 from telemetry.page import legacy_page_test |
| 6 from telemetry.timeline import chrome_trace_category_filter | 6 from telemetry.timeline import chrome_trace_category_filter |
| 7 from telemetry.web_perf import timeline_based_measurement | 7 from telemetry.web_perf import timeline_based_measurement |
| 8 from telemetry.web_perf.metrics import smoothness | 8 from telemetry.web_perf.metrics import smoothness |
| 9 | 9 |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 | 63 |
| 64 def DidRunPage(self, platform): | 64 def DidRunPage(self, platform): |
| 65 if self._tbm: | 65 if self._tbm: |
| 66 self._tbm.DidRunStory(platform) | 66 self._tbm.DidRunStory(platform) |
| 67 | 67 |
| 68 | 68 |
| 69 class Repaint(Smoothness): | 69 class Repaint(Smoothness): |
| 70 | 70 |
| 71 def CustomizeBrowserOptions(self, options): | 71 def CustomizeBrowserOptions(self, options): |
| 72 options.AppendExtraBrowserArgs([ | 72 options.AppendExtraBrowserArgs([ |
| 73 '--enable-impl-side-painting', | |
| 74 '--enable-threaded-compositing', | 73 '--enable-threaded-compositing', |
|
danakj
2016/09/26 21:39:29
Ditto
wkorman
2016/09/26 22:18:54
Done.
| |
| 75 '--enable-gpu-benchmarking' | 74 '--enable-gpu-benchmarking' |
| 76 ]) | 75 ]) |
| 77 | 76 |
| 78 | 77 |
| 79 class SmoothnessWithRestart(Smoothness): | 78 class SmoothnessWithRestart(Smoothness): |
| 80 | 79 |
| 81 def __init__(self): | 80 def __init__(self): |
| 82 super(SmoothnessWithRestart, self).__init__( | 81 super(SmoothnessWithRestart, self).__init__( |
| 83 needs_browser_restart_after_each_page=True) | 82 needs_browser_restart_after_each_page=True) |
| OLD | NEW |