| OLD | NEW |
| 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=638365 | 9 # https://bugs.chromium.org/p/chromium/issues/detail?id=638365 |
| 10 'http://www.labradortraininghq.com/labrador-training/how-to-crate-train' | 10 'http://www.labradortraininghq.com/labrador-training/how-to-crate-train' |
| 11 '-a-puppy/#How_Long_DoesIt_Take_To_Crate_Train_A_Puppy', | 11 '-a-puppy/#How_Long_DoesIt_Take_To_Crate_Train_A_Puppy', |
| 12 | 12 |
| 13 # https://bugs.chromium.org/p/chromium/issues/detail?id=505990 | 13 # https://bugs.chromium.org/p/chromium/issues/detail?id=505990 |
| 14 'http://abcnews.go.com/', | 14 # TODO(charliea): Temporarily disable this site, since it causes tracing to |
| 15 # explode from too much data. https://crbug.com/647398 |
| 16 # 'http://abcnews.go.com/', |
| 15 | 17 |
| 16 # https://bugs.chromium.org/p/chromium/issues/detail?id=505601 | 18 # https://bugs.chromium.org/p/chromium/issues/detail?id=505601 |
| 17 'http://www.slideshare.net/patrickmeenan', | 19 'http://www.slideshare.net/patrickmeenan', |
| 18 | 20 |
| 19 # https://bugs.chromium.org/p/chromium/issues/detail?id=505577 | 21 # https://bugs.chromium.org/p/chromium/issues/detail?id=505577 |
| 20 'http://tumblr.all-that-is-interesting.com/', | 22 'http://tumblr.all-that-is-interesting.com/', |
| 21 | 23 |
| 22 # https://bugs.chromium.org/p/chromium/issues/detail?id=505553 | 24 # https://bugs.chromium.org/p/chromium/issues/detail?id=505553 |
| 23 'https://instagram.com/cnn/', | 25 'https://instagram.com/cnn/', |
| 24 | 26 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 72 |
| 71 def __init__(self, wait_in_seconds=0): | 73 def __init__(self, wait_in_seconds=0): |
| 72 super(IdleAfterLoadingStories, self).__init__( | 74 super(IdleAfterLoadingStories, self).__init__( |
| 73 archive_data_file='data/idle_after_loading_stories.json', | 75 archive_data_file='data/idle_after_loading_stories.json', |
| 74 cloud_storage_bucket=story.PARTNER_BUCKET) | 76 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 75 | 77 |
| 76 # Chrome has high idle CPU usage on this site, even after its quiesced. | 78 # Chrome has high idle CPU usage on this site, even after its quiesced. |
| 77 # https://crbug.com/638365. | 79 # https://crbug.com/638365. |
| 78 for url in SITES: | 80 for url in SITES: |
| 79 self.AddStory(_BasePage(self, url, wait_in_seconds)) | 81 self.AddStory(_BasePage(self, url, wait_in_seconds)) |
| OLD | NEW |