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