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

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

Issue 616363002: Kill endure benchmark and all that related to it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes that remove --page-repeat 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 unified diff | Download patch
« no previous file with comments | « tools/perf/measurements/endure.py ('k') | tools/perf/page_sets/browser_control_click.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 page_set as page_set_module
6
7
8 class BrowserControlPage(page_module.Page):
9 """ Why: Continually attach and detach a DOM tree from a basic document. """
10
11 def __init__(self, page_set):
12 super(BrowserControlPage, self).__init__(
13 url='file://endure/browser_control.html',
14 page_set=page_set,
15 name='browser_control')
16 self.user_agent_type = 'desktop'
17
18 def RunEndure(self, action_runner):
19 action_runner.Wait(2)
20
21
22 class BrowserControlPageSet(page_set_module.PageSet):
23
24 """ Chrome Endure control test for the browser. """
25
26 def __init__(self):
27 super(BrowserControlPageSet, self).__init__(
28 user_agent_type='desktop')
29
30 self.AddPage(BrowserControlPage(self))
OLDNEW
« no previous file with comments | « tools/perf/measurements/endure.py ('k') | tools/perf/page_sets/browser_control_click.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698