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

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
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..b581cbdc059636c3e45156b2e257ce5227ba91ae
--- /dev/null
+++ b/tools/perf/benchmarks/draw_properties.py
@@ -0,0 +1,28 @@
+# 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 rendering statistics while scrolling down the top 25 web pages.
sullivan 2015/02/26 21:59:02 Is this actually meant to scroll? I don't see any
Ian Vollick 2015/02/26 22:59:39 I'm honestly not sure the mechanism by which scrol
sullivan 2015/02/28 15:58:05 Oops, yeah, it's coded into the page interactions
Ian Vollick 2015/02/28 22:22:14 Yeah, my comment was pretty crummy. Updated.
+
+ 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'

Powered by Google App Engine
This is Rietveld 408576698