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

Side by Side Diff: tools/perf/page_sets/long_running_idle_google_cases.py

Issue 2917313003: Verify explicitly set names for memory benchmarks (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/google_pages.py ('k') | tools/perf/page_sets/memory_top_10_mobile.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry import story 5 from telemetry import story
6 6
7 from page_sets import google_pages 7 from page_sets import google_pages
8 8
9 IDLE_TIME_IN_SECONDS = 100 9 IDLE_TIME_IN_SECONDS = 100
10 SAMPLING_INTERVAL_IN_SECONDS = 1 10 SAMPLING_INTERVAL_IN_SECONDS = 1
(...skipping 17 matching lines...) Expand all
28 def RunPageInteractions(self, action_runner): 28 def RunPageInteractions(self, action_runner):
29 action_runner.tab.browser.tabs.New() 29 action_runner.tab.browser.tabs.New()
30 _IdleAction(action_runner) 30 _IdleAction(action_runner)
31 return DerivedIdlePage 31 return DerivedIdlePage
32 32
33 33
34 class LongRunningIdleGmailPageSet(story.StorySet): 34 class LongRunningIdleGmailPageSet(story.StorySet):
35 def __init__(self): 35 def __init__(self):
36 super(LongRunningIdleGmailPageSet, self).__init__( 36 super(LongRunningIdleGmailPageSet, self).__init__(
37 archive_data_file='data/long_running_idle_gmail_page.json', 37 archive_data_file='data/long_running_idle_gmail_page.json',
38 cloud_storage_bucket=story.PARTNER_BUCKET) 38 cloud_storage_bucket=story.PARTNER_BUCKET,
39 verify_names=True)
39 self.AddStory( 40 self.AddStory(
40 _CreateIdlePageClass(google_pages.GmailPage)(self)) 41 _CreateIdlePageClass(google_pages.GmailPage)(self))
41 42
42 43
43 class LongRunningIdleGmailBackgroundPageSet(story.StorySet): 44 class LongRunningIdleGmailBackgroundPageSet(story.StorySet):
44 def __init__(self): 45 def __init__(self):
45 # Reuse the wpr of foreground gmail. 46 # Reuse the wpr of foreground gmail.
46 super(LongRunningIdleGmailBackgroundPageSet, self).__init__( 47 super(LongRunningIdleGmailBackgroundPageSet, self).__init__(
47 archive_data_file='data/long_running_idle_gmail_page.json', 48 archive_data_file='data/long_running_idle_gmail_page.json',
48 cloud_storage_bucket=story.PARTNER_BUCKET) 49 cloud_storage_bucket=story.PARTNER_BUCKET,
50 verify_names=True)
49 self.AddStory( 51 self.AddStory(
50 _CreateIdleBackgroundPageClass(google_pages.GmailPage)(self)) 52 _CreateIdleBackgroundPageClass(google_pages.GmailPage)(self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/google_pages.py ('k') | tools/perf/page_sets/memory_top_10_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698