summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-08-17 08:57:03 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-17 15:57:34 +0000
commit6416d003916e852c9adf2f69d7cbe6582763c7fa (patch)
tree35671005d207babb86518a7a1b07af565c89ddf4 /tools/perf
parent75a62cbb34649db52fed25581482a55eca1b5681 (diff)
downloadchromium_src-6416d003916e852c9adf2f69d7cbe6582763c7fa.zip
chromium_src-6416d003916e852c9adf2f69d7cbe6582763c7fa.tar.gz
chromium_src-6416d003916e852c9adf2f69d7cbe6582763c7fa.tar.bz2
Don't reload twice in key_mobile_sites
The Linkedin and WoW wiki pages in key_mobile_sites reload themselves before scrolling to take advantage of the browser's shader cache. However this reload is currently implemented as a reload plus a navigation. Since the navigation has more or less the same effect as a reload, the reload step is redundant. This patch removes the explicit reload step. This will make the benchmark slightly faster, and with any luck, make it less flaky[1] on some downstream bots. Note that replacing the second navigation with just the reload doesn't work because the reload does not reset the scroll offset, leaving us at the bottom of the page. [1] https://go/lhivi Review URL: https://codereview.chromium.org/1296223002 Cr-Commit-Position: refs/heads/master@{#343690}
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/page_sets/key_mobile_sites_smooth.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/page_sets/key_mobile_sites_smooth.py b/tools/perf/page_sets/key_mobile_sites_smooth.py
index 17b1f45..577c0e9 100644
--- a/tools/perf/page_sets/key_mobile_sites_smooth.py
+++ b/tools/perf/page_sets/key_mobile_sites_smooth.py
@@ -49,7 +49,6 @@ class LinkedInSmoothPage(key_mobile_sites_pages.LinkedInPage):
def RunNavigateSteps(self, action_runner):
super(LinkedInSmoothPage, self).RunNavigateSteps(action_runner)
action_runner.ScrollPage()
- action_runner.ReloadPage()
super(LinkedInSmoothPage, self).RunNavigateSteps(action_runner)
@@ -65,7 +64,6 @@ class WowwikiSmoothPage(KeyMobileSitesSmoothPage):
def RunNavigateSteps(self, action_runner):
super(WowwikiSmoothPage, self).RunNavigateSteps(action_runner)
action_runner.ScrollPage()
- action_runner.ReloadPage()
super(WowwikiSmoothPage, self).RunNavigateSteps(action_runner)