| 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 benchmarks import silk_flags | |
| 6 from measurements import rasterize_and_record_micro | 5 from measurements import rasterize_and_record_micro |
| 7 import page_sets | 6 import page_sets |
| 8 from telemetry import benchmark | 7 from telemetry import benchmark |
| 9 | 8 |
| 10 | 9 |
| 11 # RasterizeAndRecord disabled on mac because of crbug.com/350684. | 10 # RasterizeAndRecord disabled on mac because of crbug.com/350684. |
| 12 # RasterizeAndRecord disabled on windows because of crbug.com/338057. | 11 # RasterizeAndRecord disabled on windows because of crbug.com/338057. |
| 13 @benchmark.Disabled('mac', 'win') | 12 @benchmark.Disabled('mac', 'win') |
| 14 class RasterizeAndRecordMicroTop25(benchmark.Benchmark): | 13 class RasterizeAndRecordMicroTop25(benchmark.Benchmark): |
| 15 """Measures rasterize and record performance on the top 25 web pages. | 14 """Measures rasterize and record performance on the top 25 web pages. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 30 | 29 |
| 31 @benchmark.Disabled('mac', 'win') | 30 @benchmark.Disabled('mac', 'win') |
| 32 class RasterizeAndRecordMicroKeySilkCases(benchmark.Benchmark): | 31 class RasterizeAndRecordMicroKeySilkCases(benchmark.Benchmark): |
| 33 """Measures rasterize and record performance on the silk sites. | 32 """Measures rasterize and record performance on the silk sites. |
| 34 | 33 |
| 35 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 34 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 36 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 35 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 37 page_set = page_sets.KeySilkCasesPageSet | 36 page_set = page_sets.KeySilkCasesPageSet |
| 38 | 37 |
| 39 | 38 |
| 40 @benchmark.Disabled('mac', 'win') | |
| 41 class RasterizeAndRecordMicroFastPathGpuRasterizationKeySilkCases( | |
| 42 benchmark.Benchmark): | |
| 43 """Measures rasterize and record performance on the silk sites. | |
| 44 | |
| 45 Uses GPU rasterization together with bleeding edge rendering fast paths. | |
| 46 | |
| 47 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | |
| 48 tag = 'fast_path_gpu_rasterization' | |
| 49 test = rasterize_and_record_micro.RasterizeAndRecordMicro | |
| 50 page_set = page_sets.KeySilkCasesPageSet | |
| 51 def CustomizeBrowserOptions(self, options): | |
| 52 silk_flags.CustomizeBrowserOptionsForFastPath(options) | |
| 53 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | |
| 54 | |
| 55 | |
| 56 @benchmark.Enabled('android') | 39 @benchmark.Enabled('android') |
| 57 class RasterizeAndRecordMicroPolymer(benchmark.Benchmark): | 40 class RasterizeAndRecordMicroPolymer(benchmark.Benchmark): |
| 58 """Measures rasterize and record performance on the Polymer cases. | 41 """Measures rasterize and record performance on the Polymer cases. |
| 59 | 42 |
| 60 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 43 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 61 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 44 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 62 page_set = page_sets.PolymerPageSet | 45 page_set = page_sets.PolymerPageSet |
| OLD | NEW |