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 measurements
import rasterize_and_record_micro
7 from telemetry
import benchmark
10 # RasterizeAndRecord disabled on mac because of crbug.com/350684.
11 # RasterizeAndRecord disabled on windows because of crbug.com/338057.
12 @benchmark.Disabled('mac', 'win')
13 class RasterizeAndRecordMicroTop25(benchmark
.Benchmark
):
14 """Measures rasterize and record performance on the top 25 web pages.
16 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
17 test
= rasterize_and_record_micro
.RasterizeAndRecordMicro
18 page_set
= page_sets
.Top25SmoothPageSet
21 @benchmark.Disabled('mac', 'win')
22 class RasterizeAndRecordMicroKeyMobileSites(benchmark
.Benchmark
):
23 """Measures rasterize and record performance on the key mobile sites.
25 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
26 test
= rasterize_and_record_micro
.RasterizeAndRecordMicro
27 page_set
= page_sets
.KeyMobileSitesPageSet
30 @benchmark.Disabled('mac', 'win')
31 class RasterizeAndRecordMicroKeySilkCases(benchmark
.Benchmark
):
32 """Measures rasterize and record performance on the silk sites.
34 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
35 test
= rasterize_and_record_micro
.RasterizeAndRecordMicro
36 page_set
= page_sets
.KeySilkCasesPageSet
39 @benchmark.Enabled('android')
40 class RasterizeAndRecordMicroPolymer(benchmark
.Benchmark
):
41 """Measures rasterize and record performance on the Polymer cases.
43 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
44 test
= rasterize_and_record_micro
.RasterizeAndRecordMicro
45 page_set
= page_sets
.PolymerPageSet