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

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

Issue 632013002: [Telemetry] Replace RunStressMemorey with RunPageInteraction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/page_sets/mobile_memory.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_25.py
diff --git a/tools/perf/page_sets/top_25.py b/tools/perf/page_sets/top_25.py
index 212292e97faf27fdbddde8f249c9682424d140d7..44458c6e7388ffad05447a02d7252af21302fc13 100644
--- a/tools/perf/page_sets/top_25.py
+++ b/tools/perf/page_sets/top_25.py
@@ -45,7 +45,7 @@ class GoogleWebSearchPage(Top25Page):
action_runner.NavigateToPage(self)
action_runner.WaitForElement(text='Next')
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
tonyg 2014/10/06 21:06:36 This was a nice, general purpose page set. But now
nednguyen 2014/10/06 21:40:40 The coupling already exists with these RunStressMe
nduca 2014/10/07 17:46:48 backin gup... maybe the thing to think of here is
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollPage()
@@ -121,7 +121,7 @@ class GmailPage(Top25Page):
'window.gmonkey !== undefined &&'
'document.getElementById("gb") !== null')
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
old_href = _GetCurrentLocation(action_runner)
action_runner.ClickElement(
'a[href="https://mail.google.com/mail/u/0/?shva=1#starred"]')
@@ -169,7 +169,7 @@ class GoogleCalendarPage(Top25Page):
})();''')
action_runner.Wait(1)
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
action_runner.ClickElement('div[class~="navForward"]')
action_runner.Wait(2)
action_runner.WaitForElement('div[class~="navForward"]')
@@ -255,7 +255,7 @@ class GooglePlusPage(Top25Page):
action_runner.NavigateToPage(self)
action_runner.WaitForElement(text='Home')
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
action_runner.ClickElement(text='Home')
action_runner.Wait(2)
action_runner.WaitForElement(text='Profile')
@@ -310,7 +310,7 @@ class BlogspotPage(Top25Page):
action_runner.NavigateToPage(self)
action_runner.WaitForElement(text='accessibility')
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
action_runner.ClickElement(text='accessibility')
action_runner.WaitForNavigate()
interaction = action_runner.BeginGestureInteraction(
@@ -350,7 +350,7 @@ class WordpressPage(Top25Page):
# pylint: disable=C0301
'a[href="http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/"]')
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollPage()
@@ -392,7 +392,7 @@ class FacebookPage(Top25Page):
action_runner.NavigateToPage(self)
action_runner.WaitForElement(text='About')
- def RunStressMemory(self, action_runner):
+ def RunPageInteractions(self, action_runner):
action_runner.ClickElement(text='About')
action_runner.WaitForNavigate()
action_runner.ClickElement(text='The Audacity of Hope')
« no previous file with comments | « tools/perf/page_sets/mobile_memory.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698