summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornednguyen <nednguyen@google.com>2016-03-18 13:16:30 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 20:17:57 +0000
commit9ee2563864c7c680e775da2eb803af70052b7b30 (patch)
tree628222fd0aa51be81a4331bbb48361e6509909fe
parent807500fe33a48e173eefa9ca0b39bd41c6331596 (diff)
downloadchromium_src-9ee2563864c7c680e775da2eb803af70052b7b30.zip
chromium_src-9ee2563864c7c680e775da2eb803af70052b7b30.tar.gz
chromium_src-9ee2563864c7c680e775da2eb803af70052b7b30.tar.bz2
Disable smoothness.tough_animation_cases on low-end win bots
BUG=595737 Review URL: https://codereview.chromium.org/1811353002 Cr-Commit-Position: refs/heads/master@{#382063}
-rw-r--r--tools/perf/benchmarks/smoothness.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py
index 733a136..1b11368 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.
+ return (possible_browser.platform.GetOSName() == 'win' and
+ multiprocessing.cpu_count() <= 2)
+
@benchmark.Enabled('android')
class SmoothnessKeySilkCases(_Smoothness):