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

Side by Side 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, 5 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
OLDNEW
(Empty)
1 # Copyright 2014 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 from telemetry.page import page as page_module
5 from telemetry import story
6
7
8 class SnappointsCasesPage(page_module.Page):
9
10 def __init__(self, url, page_set):
11 super(SnappointsCasesPage, self).__init__(url=url, page_set=page_set)
12 self.archive_data_file = 'data/snappoints_memory.json'
13
14 def RunPageInteractions(self, action_runner):
15 with action_runner.CreateGestureInteraction('ScrollAction'):
16 action_runner.ScrollPage()
17
18 class SnappointsCasesPageSet(story.StorySet):
19
20 """ A collection of tests to measure layer performance. """
21
22 def __init__(self):
23 super(SnappointsCasesPageSet, self).__init__()
24
25 self.AddStory(SnappointsCasesPage(
26 'file://snappoints_cases/1000_snap_elements.html', self))
OLDNEW
« 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