| 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 @test.Disabled('android', 'linux') | 10 # RasterizeAndRecord disabled on mac because Chrome DCHECKS. |
| 11 # TODO: Re-enable when unittests are happy: crbug.com/350684. |
| 12 |
| 13 @test.Disabled('android', 'linux', 'mac') |
| 11 class RasterizeAndRecordMicroTop25(test.Test): | 14 class RasterizeAndRecordMicroTop25(test.Test): |
| 12 """Measures rasterize and record performance on the top 25 web pages. | 15 """Measures rasterize and record performance on the top 25 web pages. |
| 13 | 16 |
| 14 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 17 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 15 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 18 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 16 page_set = 'page_sets/top_25.json' | 19 page_set = 'page_sets/top_25.json' |
| 17 | 20 |
| 18 | 21 |
| 22 @test.Disabled('mac') |
| 19 class RasterizeAndRecordMicroKeyMobileSites(test.Test): | 23 class RasterizeAndRecordMicroKeyMobileSites(test.Test): |
| 20 """Measures rasterize and record performance on the key mobile sites. | 24 """Measures rasterize and record performance on the key mobile sites. |
| 21 | 25 |
| 22 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 26 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 23 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 27 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 24 page_set = 'page_sets/key_mobile_sites.json' | 28 page_set = 'page_sets/key_mobile_sites.json' |
| 25 | 29 |
| 26 | 30 |
| 31 @test.Disabled('mac') |
| 27 class RasterizeAndRecordMicroKeySilkCases(test.Test): | 32 class RasterizeAndRecordMicroKeySilkCases(test.Test): |
| 28 """Measures rasterize and record performance on the silk sites. | 33 """Measures rasterize and record performance on the silk sites. |
| 29 | 34 |
| 30 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 35 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 31 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 36 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 32 page_set = 'page_sets/key_silk_cases.json' | 37 page_set = 'page_sets/key_silk_cases.json' |
| 33 | 38 |
| 34 | 39 |
| 40 @test.Disabled('mac') |
| 35 class RasterizeAndRecordMicroFastPathKeySilkCases(test.Test): | 41 class RasterizeAndRecordMicroFastPathKeySilkCases(test.Test): |
| 36 """Measures rasterize and record performance on the silk sites. | 42 """Measures rasterize and record performance on the silk sites. |
| 37 | 43 |
| 38 Uses bleeding edge rendering fast paths. | 44 Uses bleeding edge rendering fast paths. |
| 39 | 45 |
| 40 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 46 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 41 tag = 'fast_path' | 47 tag = 'fast_path' |
| 42 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 48 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
| 43 page_set = 'page_sets/key_silk_cases.json' | 49 page_set = 'page_sets/key_silk_cases.json' |
| 44 def CustomizeBrowserOptions(self, options): | 50 def CustomizeBrowserOptions(self, options): |
| 45 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 51 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| OLD | NEW |