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 Chrome DCHECKS. | 10 # RasterizeAndRecord disabled on mac because Chrome DCHECKS. |
11 # TODO: Re-enable when unittests are happy: crbug.com/350684. | 11 # TODO: Re-enable when unittests are happy: crbug.com/350684. |
| 12 # TODO(skyostil): Re-enable on windows (crbug.com/360666). |
12 | 13 |
13 @test.Disabled('android', 'linux', 'mac') | 14 @test.Disabled |
14 class RasterizeAndRecordMicroTop25(test.Test): | 15 class RasterizeAndRecordMicroTop25(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 |
17 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 18 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
18 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 19 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
19 page_set = 'page_sets/top_25.json' | 20 page_set = 'page_sets/top_25.json' |
20 | 21 |
21 | 22 |
22 @test.Disabled('mac') | 23 @test.Disabled('mac') |
23 class RasterizeAndRecordMicroKeyMobileSites(test.Test): | 24 class RasterizeAndRecordMicroKeyMobileSites(test.Test): |
(...skipping 18 matching lines...) Expand all Loading... |
42 """Measures rasterize and record performance on the silk sites. | 43 """Measures rasterize and record performance on the silk sites. |
43 | 44 |
44 Uses bleeding edge rendering fast paths. | 45 Uses bleeding edge rendering fast paths. |
45 | 46 |
46 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 47 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
47 tag = 'fast_path' | 48 tag = 'fast_path' |
48 test = rasterize_and_record_micro.RasterizeAndRecordMicro | 49 test = rasterize_and_record_micro.RasterizeAndRecordMicro |
49 page_set = 'page_sets/key_silk_cases.json' | 50 page_set = 'page_sets/key_silk_cases.json' |
50 def CustomizeBrowserOptions(self, options): | 51 def CustomizeBrowserOptions(self, options): |
51 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 52 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
OLD | NEW |