ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / tools / perf / page_sets / image_decoding_cases.py
bloba2131157ed1bf2d68f3e8c0ef5a6a38a655ea7c8
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
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 action_runner.Wait(5)
15 class ImageDecodingCasesPageSet(page_set_module.PageSet):
17 """ A directed benchmark of accelerated jpeg image decoding performance """
19 def __init__(self):
20 super(ImageDecodingCasesPageSet, self).__init__()
22 urls_list = [
23 'file://image_decoding_cases/yuv_decoding.html'
26 for url in urls_list:
27 self.AddUserStory(ImageDecodingCasesPage(url, self))