Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: tools/perf/benchmarks/draw_properties.py

Issue 918633003: Add a telemetry measurement for property tree performance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | tools/perf/measurements/draw_properties.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 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 telemetry import benchmark
6
7 from measurements import draw_properties
8 import page_sets
9
10
11 class DrawPropertiesToughScrolling(benchmark.Benchmark):
12 test = draw_properties.DrawProperties
13 page_set = page_sets.ToughScrollingCasesPageSet
14 @classmethod
15 def Name(cls):
16 return 'draw_properties.tough_scrolling'
17
18 class DrawPropertiesTop25(benchmark.Benchmark):
19 """Measures the relative performance of CalcDrawProperties vs computing draw
20 properties from property trees.
21
22 http://www.chromium.org/developers/design-documents/rendering-benchmarks
23 """
24 test = draw_properties.DrawProperties
25 page_set = page_sets.Top25SmoothPageSet
26
27 @classmethod
28 def Name(cls):
29 return 'draw_properties.top_25'
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | tools/perf/measurements/draw_properties.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698