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

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

Issue 2873453005: Remove jitter page set (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | tools/perf/page_sets/jitter_test_cases/big_layer_jitter.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/jitter_pages.py
diff --git a/tools/perf/page_sets/jitter_pages.py b/tools/perf/page_sets/jitter_pages.py
deleted file mode 100644
index f56a9d9c0fdd2d07459c2eda96a9eac82a90d49c..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/jitter_pages.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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 page as page_module
-from telemetry import story
-from telemetry.page import shared_page_state
-
-
-def _IssueMarkerAndScroll(action_runner):
- with action_runner.CreateGestureInteraction('ScrollAction'):
- action_runner.ScrollPage()
-
-class JitterPage(page_module.Page):
-
- def __init__(self, url, page_set, name=''):
- super(JitterPage, self).__init__(
- url=url, page_set=page_set, name=name,
- shared_page_state_class=shared_page_state.SharedDesktopPageState)
-
- def RunPageInteractions(self, action_runner):
- _IssueMarkerAndScroll(action_runner)
-
-class JitterPageSet(story.StorySet):
-
- def __init__(self):
- super(JitterPageSet, self).__init__()
-
- urls = [
- # one fixed layer with no jitter
- 'file://jitter_test_cases/fixed.html',
- # one layer that jitters
- 'file://jitter_test_cases/one_layer_jitter.html',
- # one layer inside another, both jitter together
- 'file://jitter_test_cases/child_jitter_with_parent.html',
- # two non overlapping layers jitter
- 'file://jitter_test_cases/two_layers_jitter.html',
- # jittering layer size bigger
- 'file://jitter_test_cases/big_layer_jitter.html',
- ]
-
- for url in urls:
- self.AddStory(JitterPage(url, self))
« no previous file with comments | « no previous file | tools/perf/page_sets/jitter_test_cases/big_layer_jitter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698