summaryrefslogtreecommitdiffstats
path: root/tools/perf/benchmarks/repaint.py
blob: c262d941dafa1fd614271048dba131e543c34000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from benchmarks import silk_flags
from measurements import repaint
import page_sets
from telemetry import test


class RepaintKeyMobileSites(test.Test):
  """Measures repaint performance on the key mobile sites.

  http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
  test = repaint.Repaint
  page_set = page_sets.KeyMobileSitesPageSet


class RepaintGpuRasterizationKeyMobileSites(test.Test):
  """Measures repaint performance on the key mobile sites with forced GPU
  rasterization.

  http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
  tag = 'gpu_rasterization'
  test = repaint.Repaint
  page_set = page_sets.KeyMobileSitesPageSet
  def CustomizeBrowserOptions(self, options):
    silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)