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

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

Issue 826113003: [Telemetry] Rename RunSmoothness to RunPageInteractions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/alexa1-10000.py ('k') | tools/perf/page_sets/intl_ar_fa_he.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 2014 The Chromium Authors. All rights reserved. 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 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.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 class ImageDecodingCasesPage(page_module.Page): 7 class ImageDecodingCasesPage(page_module.Page):
8 8
9 def __init__(self, url, page_set): 9 def __init__(self, url, page_set):
10 super(ImageDecodingCasesPage, self).__init__(url=url, page_set=page_set) 10 super(ImageDecodingCasesPage, self).__init__(url=url, page_set=page_set)
11 11
12 def RunSmoothness(self, action_runner): 12 def RunPageInteractions(self, action_runner):
13 action_runner.Wait(5) 13 action_runner.Wait(5)
14 14
15 class ImageDecodingCasesPageSet(page_set_module.PageSet): 15 class ImageDecodingCasesPageSet(page_set_module.PageSet):
16 16
17 """ A directed benchmark of accelerated jpeg image decoding performance """ 17 """ A directed benchmark of accelerated jpeg image decoding performance """
18 18
19 def __init__(self): 19 def __init__(self):
20 super(ImageDecodingCasesPageSet, self).__init__() 20 super(ImageDecodingCasesPageSet, self).__init__()
21 21
22 urls_list = [ 22 urls_list = [
23 'file://image_decoding_cases/yuv_decoding.html' 23 'file://image_decoding_cases/yuv_decoding.html'
24 ] 24 ]
25 25
26 for url in urls_list: 26 for url in urls_list:
27 self.AddUserStory(ImageDecodingCasesPage(url, self)) 27 self.AddUserStory(ImageDecodingCasesPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/alexa1-10000.py ('k') | tools/perf/page_sets/intl_ar_fa_he.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698