diff options
author | borenet <borenet@google.com> | 2014-06-24 12:40:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-24 12:40:01 -0700 |
commit | 332600fb43fcaaa022c3c0b04ba52b371930fb15 (patch) | |
tree | aabd734f7310d86e410de2634061663230ad5fce | |
parent | 7373456679b809d4e7649a438f0fe5b59257e4e5 (diff) |
Bench: Change default maxMs from 4s to 1s.
Speculative fix for Android crashes.
BUG=skia:2080
R=mtklein@google.com, djsollen@google.com
Author: borenet@google.com
Review URL: https://codereview.chromium.org/346263011
-rw-r--r-- | bench/benchmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 5c3b7901af..2a071bec7f 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -249,7 +249,7 @@ DEFINE_string(config, kDefaultsConfigStr, "Run configs given. By default, runs the configs marked \"runByDefault\" in gConfigs."); DEFINE_string(logFile, "", "Also write stdout here."); DEFINE_int32(minMs, 20, "Shortest time we'll allow a benchmark to run."); -DEFINE_int32(maxMs, 4000, "Longest time we'll allow a benchmark to run."); +DEFINE_int32(maxMs, 1000, "Longest time we'll allow a benchmark to run."); DEFINE_bool(runOnce, kIsDebug, "Run each bench exactly once and don't report timings."); DEFINE_double(error, 0.01, "Ratio of subsequent bench measurements must drop within 1±error to converge."); |