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 import test | 5 from telemetry import test |
6 | 6 |
| 7 from benchmarks import silk_flags |
7 from measurements import rasterize_and_record | 8 from measurements import rasterize_and_record |
8 | 9 |
9 | 10 |
10 # RasterizeAndRecord disabled on linux because no raster times are reported. | 11 # RasterizeAndRecord disabled on linux because no raster times are reported. |
11 # TODO: re-enable when unittests are happy on linux. | 12 # TODO: re-enable when unittests are happy on linux. |
12 | 13 |
13 @test.Disabled('linux') | 14 @test.Disabled('linux') |
14 class RasterizeAndRecordTop25(test.Test): | 15 class RasterizeAndRecordTop25(test.Test): |
15 """Measures rasterize and record performance on the top 25 web pages. | 16 """Measures rasterize and record performance on the top 25 web pages. |
16 | 17 |
(...skipping 11 matching lines...) Expand all Loading... |
28 page_set = 'page_sets/key_mobile_sites.json' | 29 page_set = 'page_sets/key_mobile_sites.json' |
29 | 30 |
30 | 31 |
31 @test.Disabled('linux') | 32 @test.Disabled('linux') |
32 class RasterizeAndRecordSilk(test.Test): | 33 class RasterizeAndRecordSilk(test.Test): |
33 """Measures rasterize and record performance on the silk sites. | 34 """Measures rasterize and record performance on the silk sites. |
34 | 35 |
35 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 36 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
36 test = rasterize_and_record.RasterizeAndRecord | 37 test = rasterize_and_record.RasterizeAndRecord |
37 page_set = 'page_sets/key_silk_cases.json' | 38 page_set = 'page_sets/key_silk_cases.json' |
| 39 |
| 40 |
| 41 class RasterizeAndRecordFastPathSilk(test.Test): |
| 42 """Measures rasterize and record performance on the silk sites. |
| 43 |
| 44 Uses bleeding edge rendering fast paths. |
| 45 |
| 46 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 47 tag = 'fast_path' |
| 48 test = rasterize_and_record.RasterizeAndRecord |
| 49 page_set = 'page_sets/key_silk_cases.json' |
| 50 def CustomizeBrowserOptions(self, options): |
| 51 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
OLD | NEW |