Bench: Change default maxMs from 4s to 1s.
authorborenet <borenet@google.com>
Tue, 24 Jun 2014 19:40:01 +0000 (12:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Jun 2014 19:40:01 +0000 (12:40 -0700)
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

bench/benchmain.cpp

index 5c3b790..2a071be 100644 (file)
@@ -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.");