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

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

Issue 2035553002: [tools/perf] Remove smoothness.tough_scrolling_while_zoomed_in_cases benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also remove tough_scrolling_while_zoomed_in_cases.py Created 4 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 | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_scrolling_while_zoomed_in_cases.py
diff --git a/tools/perf/page_sets/tough_scrolling_while_zoomed_in_cases.py b/tools/perf/page_sets/tough_scrolling_while_zoomed_in_cases.py
deleted file mode 100644
index 14cd721ab392d8ff2429355af38eda9e583e719a..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/tough_scrolling_while_zoomed_in_cases.py
+++ /dev/null
@@ -1,60 +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 page_sets import diagonal_scrolling_supported_shared_state
-
-from telemetry.page import page as page_module
-from telemetry import story
-
-
-class ToughScrollingWhileZoomedInCasesPage(page_module.Page):
-
- def __init__(self, url, page_set):
- super(ToughScrollingWhileZoomedInCasesPage, self).__init__(
- url=url,
- page_set=page_set,
- shared_page_state_class=(
- diagonal_scrolling_supported_shared_state.
- DiagonalScrollingSupportedSharedState))
-
- def RunPageInteractions(self, action_runner):
- # First, zoom into the page
- action_runner.PinchPage(
- scale_factor=20.0,
- speed_in_pixels_per_second=10000)
- # 20.0 was chosen because at the time it was close to the maximum.
- # The more zoomed in, the more noticeable the tile rasterization.
- #
- # 10,000 was chosen to complete this pre-step quickly.
-
- # Then start measurements
- with action_runner.CreateGestureInteraction('ScrollAction'):
- # And begin the diagonal scroll
- action_runner.ScrollPage(
- direction='downright',
- # 10,000 was chosen because it is fast enough to completely stress the
- # rasterization (on a Nexus 5) without saturating results.
- speed_in_pixels_per_second=10000)
-
-
-class ToughScrollingWhileZoomedInCasesPageSet(story.StorySet):
- """
- Description: A collection of difficult scrolling tests
- """
-
- def __init__(self):
- super(ToughScrollingWhileZoomedInCasesPageSet, self).__init__(
- archive_data_file='data/tough_pinch_zoom_cases.json',
- cloud_storage_bucket=story.PARTNER_BUCKET)
-
- # The following URLs were chosen because they tend to have >15%
- # mean_pixels_approximated at this scrolling speed.
- urls_list = [
- 'file://tough_scrolling_cases/background_fixed.html',
- 'file://tough_scrolling_cases/fixed_nonstacking.html',
- 'file://tough_scrolling_cases/iframe_scrolls.html',
- 'file://tough_scrolling_cases/wheel_div_prevdefault.html'
- ]
-
- for url in urls_list:
- self.AddStory(ToughScrollingWhileZoomedInCasesPage(url, self))
« no previous file with comments | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698