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

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

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (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/dummy_story_set.py ('k') | tools/perf/page_sets/idle_platform.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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry import story 5 from telemetry import story
6 6
7 # Chrome has high idle CPU usage on these sites, even after they have quiesced. 7 # Chrome has high idle CPU usage on these sites, even after they have quiesced.
8 SITES = [ 8 SITES = [
9 # https://bugs.chromium.org/p/chromium/issues/detail?id=505990 9 # https://bugs.chromium.org/p/chromium/issues/detail?id=505990
10 # TODO(charliea): Temporarily disable this site, since it causes tracing to 10 # TODO(charliea): Temporarily disable this site, since it causes tracing to
(...skipping 29 matching lines...) Expand all
40 action_runner.Wait(self._wait_in_seconds) 40 action_runner.Wait(self._wait_in_seconds)
41 41
42 42
43 class IdleAfterLoadingStories(story.StorySet): 43 class IdleAfterLoadingStories(story.StorySet):
44 """Historically, Chrome has high CPU usage on these sites after the page has 44 """Historically, Chrome has high CPU usage on these sites after the page has
45 loaded. These user stories let Chrome idle on the page.""" 45 loaded. These user stories let Chrome idle on the page."""
46 46
47 def __init__(self, wait_in_seconds=0): 47 def __init__(self, wait_in_seconds=0):
48 super(IdleAfterLoadingStories, self).__init__( 48 super(IdleAfterLoadingStories, self).__init__(
49 archive_data_file='data/idle_after_loading_stories.json', 49 archive_data_file='data/idle_after_loading_stories.json',
50 cloud_storage_bucket=story.PARTNER_BUCKET, 50 cloud_storage_bucket=story.PARTNER_BUCKET)
51 verify_names=True)
52 51
53 # Chrome has high idle CPU usage on this site, even after its quiesced. 52 # Chrome has high idle CPU usage on this site, even after its quiesced.
54 # https://crbug.com/638365. 53 # https://crbug.com/638365.
55 for url in SITES: 54 for url in SITES:
56 self.AddStory(_BasePage(self, url, wait_in_seconds, url)) 55 self.AddStory(_BasePage(self, url, wait_in_seconds, url))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/dummy_story_set.py ('k') | tools/perf/page_sets/idle_platform.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698