Chromium Code Reviews| Index: tools/perf/benchmarks/smoothness.py |
| diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py |
| index 733a136129c52521e26b19d2ec427c1adbd7e993..bedf64552ede51dda32768f9a63a814ec2536ad7 100644 |
| --- a/tools/perf/benchmarks/smoothness.py |
| +++ b/tools/perf/benchmarks/smoothness.py |
| @@ -1,6 +1,7 @@ |
| # Copyright 2013 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| +import multiprocessing |
| from core import perf_benchmark |
| @@ -139,6 +140,12 @@ class SmoothnessToughAnimationCases(_Smoothness): |
| def Name(cls): |
| return 'smoothness.tough_animation_cases' |
| + @classmethod |
| + def ShouldDisable(cls, possible_browser): # http://crbug.com/595737 |
| + # This test is flaky on low-end windows machine |
|
petrcermak
2016/03/18 15:38:16
nit: You're missing a full stop after this comment
|
| + return (possible_browser.platform.GetOSName() == 'win' and |
| + multiprocessing.cpu_count() <= 2) |
| + |
| @benchmark.Enabled('android') |
| class SmoothnessKeySilkCases(_Smoothness): |