[Android WebViewShell] Add inclusion test for webview exposed stable interfaces.
[chromium-blink-merge.git] / tools / perf / page_sets / image_decoding_cases.py
blobdd1eb7e6e063dceb46a88c34d7515d01339ebafb
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 import story
7 class ImageDecodingCasesPage(page_module.Page):
9 def __init__(self, url, page_set):
10 super(ImageDecodingCasesPage, self).__init__(url=url, page_set=page_set)
12 def RunPageInteractions(self, action_runner):
13 with action_runner.CreateInteraction('DecodeImage'):
14 action_runner.Wait(5)
16 class ImageDecodingCasesPageSet(story.StorySet):
18 """ A directed benchmark of accelerated jpeg image decoding performance """
20 def __init__(self):
21 super(ImageDecodingCasesPageSet, self).__init__()
23 urls_list = [
24 'file://image_decoding_cases/yuv_decoding.html'
27 for url in urls_list:
28 self.AddStory(ImageDecodingCasesPage(url, self))