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

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

Issue 636203002: Task Execution Duration metrics added as a new benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: White space fix + removal of debug code 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/key_mobile_sites.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_scheduling_cases.py
diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py
index 7b322f50bd3793099281489f6020882b990b71ce..d744058d3a96becf9c4a29044e81bc5ab8d02bf8 100644
--- a/tools/perf/page_sets/tough_scheduling_cases.py
+++ b/tools/perf/page_sets/tough_scheduling_cases.py
@@ -9,7 +9,7 @@ class ToughSchedulingCasesPage(page_module.Page):
def __init__(self, url, page_set):
super(ToughSchedulingCasesPage, self).__init__(
- url=url, page_set=page_set, credentials_path = 'data/credentials.json')
+ url=url, page_set=page_set, credentials_path='data/credentials.json')
self.user_agent_type = 'mobile'
self.archive_data_file = 'data/tough_scheduling_cases.json'
@@ -19,6 +19,12 @@ class ToughSchedulingCasesPage(page_module.Page):
action_runner.ScrollPage()
interaction.End()
+ def RunTaskExecutionTime(self, action_runner):
+ interaction = action_runner.BeginGestureInteraction(
+ 'ScrollAction', is_smooth=True)
+ action_runner.ScrollPage()
+ interaction.End()
+
class Page1(ToughSchedulingCasesPage):
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698