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

Side by Side Diff: tools/perf/page_sets/image_decoding_cases.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
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 import story 5 from telemetry import story
6 6
7 class ImageDecodingCasesPage(page_module.Page): 7 class ImageDecodingCasesPage(page_module.Page):
8 8
9 def __init__(self, url, page_set, name): 9 def __init__(self, url, page_set, name):
10 super(ImageDecodingCasesPage, self).__init__( 10 super(ImageDecodingCasesPage, self).__init__(
11 url=url, page_set=page_set, name=name) 11 url=url, page_set=page_set, name=name)
12 12
13 def RunPageInteractions(self, action_runner): 13 def RunPageInteractions(self, action_runner):
14 with action_runner.CreateInteraction('DecodeImage'): 14 with action_runner.CreateInteraction('DecodeImage'):
15 action_runner.Wait(5) 15 action_runner.Wait(5)
16 16
17 class ImageDecodingCasesPageSet(story.StorySet): 17 class ImageDecodingCasesPageSet(story.StorySet):
18 18
19 """ A directed benchmark of accelerated jpeg image decoding performance """ 19 """ A directed benchmark of accelerated jpeg image decoding performance """
20 20
21 def __init__(self): 21 def __init__(self):
22 super(ImageDecodingCasesPageSet, self).__init__(verify_names=True) 22 super(ImageDecodingCasesPageSet, self).__init__()
23 23
24 urls_list = [ 24 urls_list = [
25 ('file://image_decoding_cases/yuv_decoding.html', 'yuv_decoding.html') 25 ('file://image_decoding_cases/yuv_decoding.html', 'yuv_decoding.html')
26 ] 26 ]
27 27
28 for url, name in urls_list: 28 for url, name in urls_list:
29 self.AddStory(ImageDecodingCasesPage(url, self, name)) 29 self.AddStory(ImageDecodingCasesPage(url, self, name))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/idle_platform.py ('k') | tools/perf/page_sets/image_decoding_measurement.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698