| 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 | 5 from benchmarks import silk_flags |
| 6 from measurements import rasterize_and_record_micro | 6 from measurements import rasterize_and_record_micro |
| 7 from telemetry import test | 7 from telemetry import test |
| 8 | 8 |
| 9 | 9 |
| 10 # RasterizeAndRecord disabled on mac because of crbug.com/350684. | 10 # RasterizeAndRecord disabled on mac because of crbug.com/350684. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 @test.Disabled('mac', 'win') | 30 @test.Disabled('mac', 'win') |
| 31 class RasterizeAndRecordMicroKeySilkCases(test.Test): | 31 class RasterizeAndRecordMicroKeySilkCases(test.Test): |
| 32 """Measures rasterize and record performance on the silk sites. | 32 """Measures rasterize and record performance on the silk sites. |
| 33 | 33 |
| 34 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 34 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 35 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 35 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 36 page_set = 'page_sets/key_silk_cases.py' | 36 page_set = 'page_sets/key_silk_cases.py' |
| 37 | 37 |
| 38 | 38 |
| 39 @test.Disabled('mac', 'win') | 39 @test.Disabled('mac', 'win') |
| 40 class RasterizeAndRecordMicroFastPathKeySilkCases(test.Test): | |
| 41 """Measures rasterize and record performance on the silk sites. | |
| 42 | |
| 43 Uses bleeding edge rendering fast paths. | |
| 44 | |
| 45 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | |
| 46 tag = 'fast_path' | |
| 47 test = rasterize_and_record_micro.RasterizeAndRecordMicro | |
| 48 page_set = 'page_sets/key_silk_cases.py' | |
| 49 def CustomizeBrowserOptions(self, options): | |
| 50 silk_flags.CustomizeBrowserOptionsForFastPath(options) | |
| 51 | |
| 52 | |
| 53 @test.Disabled('mac', 'win') | |
| 54 class RasterizeAndRecordMicroFastPathGpuRasterizationKeySilkCases(test.Test): | 40 class RasterizeAndRecordMicroFastPathGpuRasterizationKeySilkCases(test.Test): |
| 55 """Measures rasterize and record performance on the silk sites. | 41 """Measures rasterize and record performance on the silk sites. |
| 56 | 42 |
| 57 Uses GPU rasterization together with bleeding edge rendering fast paths. | 43 Uses GPU rasterization together with bleeding edge rendering fast paths. |
| 58 | 44 |
| 59 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 45 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 60 tag = 'fast_path_gpu_rasterization' | 46 tag = 'fast_path_gpu_rasterization' |
| 61 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 47 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 62 page_set = 'page_sets/key_silk_cases.py' | 48 page_set = 'page_sets/key_silk_cases.py' |
| 63 def CustomizeBrowserOptions(self, options): | 49 def CustomizeBrowserOptions(self, options): |
| 64 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 50 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| 65 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 51 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| 66 | 52 |
| 67 | 53 |
| 68 @test.Enabled('android') | 54 @test.Enabled('android') |
| 69 class RasterizeAndRecordMicroPolymer(test.Test): | 55 class RasterizeAndRecordMicroPolymer(test.Test): |
| 70 """Measures rasterize and record performance on the Polymer cases. | 56 """Measures rasterize and record performance on the Polymer cases. |
| 71 | 57 |
| 72 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 58 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 73 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 59 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 74 page_set = 'page_sets/polymer.py' | 60 page_set = 'page_sets/polymer.py' |
| OLD | NEW |