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

Unified 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, 10 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/draw_properties.py
diff --git a/tools/perf/benchmarks/draw_properties.py b/tools/perf/benchmarks/draw_properties.py
new file mode 100644
index 0000000000000000000000000000000000000000..9ac9ff29b649491eb0e9b60d24259abffcb35850
--- /dev/null
+++ b/tools/perf/benchmarks/draw_properties.py
@@ -0,0 +1,29 @@
+# Copyright 2015 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 telemetry import benchmark
+
+from measurements import draw_properties
+import page_sets
+
+
+class DrawPropertiesToughScrolling(benchmark.Benchmark):
+ test = draw_properties.DrawProperties
+ page_set = page_sets.ToughScrollingCasesPageSet
+ @classmethod
+ def Name(cls):
+ return 'draw_properties.tough_scrolling'
+
+class DrawPropertiesTop25(benchmark.Benchmark):
+ """Measures the relative performance of CalcDrawProperties vs computing draw
+ properties from property trees.
+
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks
+ """
+ test = draw_properties.DrawProperties
+ page_set = page_sets.Top25SmoothPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'draw_properties.top_25'
« 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