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

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

Issue 1984473002: [Telemetry] Add BattOr benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 from telemetry.page import page as page_module
5 from telemetry.page import shared_page_state
6 from telemetry import story
7
8
9 URL_LIST = [
10 'https://webkit.org/blog-files/3d-transforms/poster-circle.html'
nednguyen 2016/05/16 16:22:19 also youtube & about:blank?
rnephew (Reviews Here) 2016/05/16 18:55:05 Done.
11 ]
12
13
14 class BattOrCasesPage(page_module.Page):
nednguyen 2016/05/16 16:22:18 s/BattOrCasesPage/PowerCasesPage
rnephew (Reviews Here) 2016/05/16 18:55:05 Done. Also changed the other instances to Power*
15
16 def __init__(self, url, page_set, name=''):
17 super(BattOrCasesPage, self).__init__(
18 url=url, page_set=page_set, name=name,
19 credentials_path = 'data/credentials.json',
20 shared_page_state_class=shared_page_state.SharedMobilePageState)
21 self.archive_data_file = 'data/battor_cases.json'
22
23 def RunPageInteractions(self, action_runner):
24 action_runner.Wait(30)
25
26
27 class BattOrCasesPageSet(story.StorySet):
28 """Power hungry pages, used for BattOr testing."""
29
30 def __init__(self):
31 super(BattOrCasesPageSet, self).__init__(
32 archive_data_file='data/battor_cases.json',
33 cloud_storage_bucket=story.PARTNER_BUCKET)
34
35 for url in URL_LIST:
36 self.AddStory(BattOrCasesPage(url, self))
OLDNEW
« tools/perf/benchmarks/battor.py ('K') | « tools/perf/benchmarks/battor.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698