Skip to content

Commit

Permalink
Reduce ENOUGH_TIME default to 1.0 seconds
Browse files Browse the repository at this point in the history
Now that MIN_SCALING_POINTS guarantees even slow compilers will have
multiple points to plot, reduce the ENOUGH_TIME default to 1.0 seconds
so that benchmarkers don't have to wait quite so long for decent
results.
  • Loading branch information
Geoffrey Broadwell committed Jun 14, 2014
1 parent b7bf31e commit 35cd770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timeall
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use Cwd;
my %DEFAULT = (
TEST_RUNS => 2, # times to run each test, taking best time
MIN_STARTUP_RUNS => 10, # minimum times to run startup time test
ENOUGH_TIME => 5.0, # minimum run time (seconds) to give clean timing data for scalable tests
ENOUGH_TIME => 1.0, # minimum run time (seconds) to give clean timing data for scalable tests
MIN_SCALING_POINTS => 3, # minimum different points to test on each scaling curve
);
my @GROUPS = qw( perl5 nqp perl6 );
Expand Down Expand Up @@ -634,7 +634,7 @@ reaches diminishing returns. Many times it's more effective to just turn off
as many background processes (such as email clients) as possible while
benchmarking.
=item --enough-time=3.0
=item --enough-time=1.0
Set the amount of time a scalable test must run (not including startup and
compile time) before the timing data is considered "good enough", causing
Expand Down

0 comments on commit 35cd770

Please sign in to comment.