From 32202eac47278d129dc32562551b3cb4a0253256 Mon Sep 17 00:00:00 2001 From: "mbelshe@google.com" Date: Fri, 26 Sep 2008 15:21:42 +0000 Subject: Increase min throttle on the new timer performance test. This is an arbitrary timer, but these tests run slower than I expected on the bbots. TBR=ojan Review URL: http://codereview.chromium.org/4301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2629 0039d316-1c4b-4281-b951-d872f2087c98 --- base/time_unittest_win.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'base/time_unittest_win.cc') diff --git a/base/time_unittest_win.cc b/base/time_unittest_win.cc index 4a7120e..1c3ea08 100644 --- a/base/time_unittest_win.cc +++ b/base/time_unittest_win.cc @@ -159,7 +159,10 @@ TEST(TimeTicks, TimerPerformance) { // Verify that various timer mechanisms can always complete quickly. // Note: This is a somewhat arbitrary test. const int kLoops = 10000; - const int kMaxTime = 10; // Maximum acceptible milliseconds for test. + // Due to the fact that these run on bbots, which are horribly slow, + // we can't really make any guarantees about minimum runtime. + // Really, we want these to finish in ~10ms, and that is generous. + const int kMaxTime = 35; // Maximum acceptible milliseconds for test. typedef TimeTicks (*TestFunc)(); struct TestCase { -- cgit v1.1