• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 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
5from benchmarks import silk_flags
6from measurements import repaint
7import page_sets
8from telemetry import test
9
10
11class RepaintKeyMobileSites(test.Test):
12  """Measures repaint performance on the key mobile sites.
13
14  http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
15  test = repaint.Repaint
16  page_set = page_sets.KeyMobileSitesPageSet
17
18
19class RepaintGpuRasterizationKeyMobileSites(test.Test):
20  """Measures repaint performance on the key mobile sites with forced GPU
21  rasterization.
22
23  http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
24  tag = 'gpu_rasterization'
25  test = repaint.Repaint
26  page_set = page_sets.KeyMobileSitesPageSet
27  def CustomizeBrowserOptions(self, options):
28    silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
29