Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import sys | 5 import sys |
| 6 | 6 |
| 7 from telemetry import test | 7 from telemetry import test |
| 8 | 8 |
| 9 from measurements import smoothness | 9 from measurements import smoothness |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 enabled = sys.platform != 'darwin' | 22 enabled = sys.platform != 'darwin' |
| 23 page_set = 'page_sets/tough_canvas_cases.json' | 23 page_set = 'page_sets/tough_canvas_cases.json' |
| 24 | 24 |
| 25 | 25 |
| 26 class SmoothnessKeyMobileSites(test.Test): | 26 class SmoothnessKeyMobileSites(test.Test): |
| 27 """Measures rendering statistics while scrolling down the key mobile sites. | 27 """Measures rendering statistics while scrolling down the key mobile sites. |
| 28 | 28 |
| 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 30 test = smoothness.Smoothness | 30 test = smoothness.Smoothness |
| 31 page_set = 'page_sets/key_mobile_sites.json' | 31 page_set = 'page_sets/key_mobile_sites.json' |
| 32 | |
| 33 class SmoothnessKeySilkCases(test.Test): | |
| 34 """Measures rendering statistics for the key silk cases""" | |
| 35 test = smoothness.Smoothness | |
|
nduca
2014/01/13 21:09:04
we have ./run_benchmark silk now... should we ren
ernstm
2014/01/13 21:18:04
You mean renaming the silk benchmark?
| |
| 36 page_set = 'page_sets/key_silk_cases.json' | |
| 37 | |
| 38 class SmoothnessThreadedRasterizationKeySilkCases(test.Test): | |
| 39 """Measures rendering statistics for the key silk cases with threaded | |
| 40 rasterization | |
| 41 """ | |
| 42 tag = 'threaded_rasterization' | |
| 43 test = smoothness.Smoothness | |
| 44 page_set = 'page_sets/key_silk_cases.json' | |
| 45 def CustomizeBrowserOptions(self, options): | |
| 46 options.AppendExtraBrowserArgs('--enable-threaded-compositing') | |
| 47 options.AppendExtraBrowserArgs('--force-compositing-mode') | |
| 48 options.AppendExtraBrowserArgs('--enable-impl-side-painting') | |
| 49 | |
| 50 class SmoothnessGpuRasterizationKeySilkCases(test.Test): | |
| 51 """Measures rendering statistics for the key silk cases with GPU rasterization | |
| 52 """ | |
| 53 tag = 'gpu_rasterization' | |
| 54 test = smoothness.Smoothness | |
| 55 page_set = 'page_sets/key_silk_cases.json' | |
| 56 def CustomizeBrowserOptions(self, options): | |
| 57 options.AppendExtraBrowserArgs('--enable-threaded-compositing') | |
| 58 options.AppendExtraBrowserArgs('--force-compositing-mode') | |
| 59 options.AppendExtraBrowserArgs('--enable-impl-side-painting') | |
| 60 options.AppendExtraBrowserArgs('--enable-gpu-rasterization') | |
| OLD | NEW |