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