diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-26 15:21:42 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-26 15:21:42 +0000 |
commit | 32202eac47278d129dc32562551b3cb4a0253256 (patch) | |
tree | 2f6116b6ab87d863c34a5c4d31ec95c158cd3821 /base/time_unittest_win.cc | |
parent | a227a83bbf8d54b4efb02a75b94da891f0cb915c (diff) | |
download | chromium_src-32202eac47278d129dc32562551b3cb4a0253256.zip chromium_src-32202eac47278d129dc32562551b3cb4a0253256.tar.gz chromium_src-32202eac47278d129dc32562551b3cb4a0253256.tar.bz2 |
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
Diffstat (limited to 'base/time_unittest_win.cc')
-rw-r--r-- | base/time_unittest_win.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |