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

Unified Diff: tools/perf/page_sets/snappoints_cases.py

Issue 1333323003: SnapManager implementation using V8 Extras - {WIP} Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update with latest master Created 4 years, 6 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 | « tools/perf/benchmarks/smoothness.py ('k') | tools/perf/page_sets/snappoints_cases/1000_snap_elements.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/snappoints_cases.py
diff --git a/tools/perf/page_sets/snappoints_cases.py b/tools/perf/page_sets/snappoints_cases.py
new file mode 100644
index 0000000000000000000000000000000000000000..4e2f19831d9b0496f2f3b318fa0795fb8d1bfd84
--- /dev/null
+++ b/tools/perf/page_sets/snappoints_cases.py
@@ -0,0 +1,26 @@
+# 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 telemetry.page import page as page_module
+from telemetry import story
+
+
+class SnappointsCasesPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SnappointsCasesPage, self).__init__(url=url, page_set=page_set)
+ self.archive_data_file = 'data/snappoints_memory.json'
+
+ def RunPageInteractions(self, action_runner):
+ with action_runner.CreateGestureInteraction('ScrollAction'):
+ action_runner.ScrollPage()
+
+class SnappointsCasesPageSet(story.StorySet):
+
+ """ A collection of tests to measure layer performance. """
+
+ def __init__(self):
+ super(SnappointsCasesPageSet, self).__init__()
+
+ self.AddStory(SnappointsCasesPage(
+ 'file://snappoints_cases/1000_snap_elements.html', self))
« no previous file with comments | « tools/perf/benchmarks/smoothness.py ('k') | tools/perf/page_sets/snappoints_cases/1000_snap_elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698