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

Side by Side Diff: tools/perf/benchmarks/image_decoding.py

Issue 2960933002: tools/benchmarks: Fix failures in image decoding measurements. (Closed)
Patch Set: .. Created 3 years, 5 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 | « content/browser/gpu/compositor_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 from telemetry import benchmark 6 from telemetry import benchmark
7 7
8 from measurements import image_decoding 8 from measurements import image_decoding
9 import page_sets 9 import page_sets
10 10
11 11
12 @benchmark.Owner(emails=['cblume@chromium.org', 'reveman@chromium.org']) 12 @benchmark.Owner(emails=['cblume@chromium.org', 'reveman@chromium.org'])
13 class ImageDecodingToughImageCases(perf_benchmark.PerfBenchmark): 13 class ImageDecodingToughImageCases(perf_benchmark.PerfBenchmark):
14 test = image_decoding.ImageDecoding 14 test = image_decoding.ImageDecoding
15 # TODO: Rename this page set to tough_image_cases.py 15 # TODO: Rename this page set to tough_image_cases.py
16 page_set = page_sets.ImageDecodingMeasurementPageSet 16 page_set = page_sets.ImageDecodingMeasurementPageSet
17 17
18 @classmethod 18 @classmethod
19 def Name(cls): 19 def Name(cls):
20 return 'image_decoding.image_decoding_measurement' 20 return 'image_decoding.image_decoding_measurement'
21 21
22 @classmethod 22 @classmethod
23 def ShouldDisable(cls, possible_browser): 23 def ShouldDisable(cls, possible_browser):
24 # crbug.com/667501 24 # crbug.com/667501
25 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 7' 25 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 7'
26 26
27 def GetExpectations(self): 27 def GetExpectations(self):
28 return page_sets.ImageDecodingMeasurementStoryExpectations() 28 return page_sets.ImageDecodingMeasurementStoryExpectations()
29
30 def SetExtraBrowserOptions(self, options):
31 options.AppendExtraBrowserArgs([
32 # Disable asynchronous decodes in the renderer since these test
33 # rely on images have been decoded between consecutive
34 # requestAnimationFrames.
35 '--disable-checker-imaging'
36 ])
OLDNEW
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698