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. 4 5 from benchmarks import silk_flags 6 from measurements import rasterize_and_record_micro 7 import page_sets 8 from telemetry import test 9 10 11 # RasterizeAndRecord disabled on mac because of crbug.com/350684. 12 # RasterizeAndRecord disabled on windows because of crbug.com/338057. 13 @test.Disabled('mac', 'win') 14 class RasterizeAndRecordMicroTop25(test.Test): 15 """Measures rasterize and record performance on the top 25 web pages. 16 17 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 18 test = rasterize_and_record_micro.RasterizeAndRecordMicro 19 page_set = page_sets.Top25PageSet 20 21 22 @test.Disabled('mac', 'win') 23 class RasterizeAndRecordMicroKeyMobileSites(test.Test): 24 """Measures rasterize and record performance on the key mobile sites. 25 26 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 27 test = rasterize_and_record_micro.RasterizeAndRecordMicro 28 page_set = page_sets.KeyMobileSitesPageSet 29 30 31 @test.Disabled('mac', 'win') 32 class RasterizeAndRecordMicroKeySilkCases(test.Test): 33 """Measures rasterize and record performance on the silk sites. 34 35 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 36 test = rasterize_and_record_micro.RasterizeAndRecordMicro 37 page_set = page_sets.KeySilkCasesPageSet 38 39 40 @test.Disabled('mac', 'win') 41 class RasterizeAndRecordMicroFastPathGpuRasterizationKeySilkCases(test.Test): 42 """Measures rasterize and record performance on the silk sites. 43 44 Uses GPU rasterization together with bleeding edge rendering fast paths. 45 46 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 47 tag = 'fast_path_gpu_rasterization' 48 test = rasterize_and_record_micro.RasterizeAndRecordMicro 49 page_set = page_sets.KeySilkCasesPageSet 50 def CustomizeBrowserOptions(self, options): 51 silk_flags.CustomizeBrowserOptionsForFastPath(options) 52 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 53 54 55 @test.Enabled('android') 56 class RasterizeAndRecordMicroPolymer(test.Test): 57 """Measures rasterize and record performance on the Polymer cases. 58 59 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 60 test = rasterize_and_record_micro.RasterizeAndRecordMicro 61 page_set = page_sets.PolymerPageSet 62