Skip to content

Commit 35cd770

Browse files
author
Geoffrey Broadwell
committed
Reduce ENOUGH_TIME default to 1.0 seconds
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.
1 parent b7bf31e commit 35cd770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

timeall

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use Cwd;
2222
my %DEFAULT = (
2323
TEST_RUNS => 2, # times to run each test, taking best time
2424
MIN_STARTUP_RUNS => 10, # minimum times to run startup time test
25-
ENOUGH_TIME => 5.0, # minimum run time (seconds) to give clean timing data for scalable tests
25+
ENOUGH_TIME => 1.0, # minimum run time (seconds) to give clean timing data for scalable tests
2626
MIN_SCALING_POINTS => 3, # minimum different points to test on each scaling curve
2727
);
2828
my @GROUPS = qw( perl5 nqp perl6 );
@@ -634,7 +634,7 @@ reaches diminishing returns. Many times it's more effective to just turn off
634634
as many background processes (such as email clients) as possible while
635635
benchmarking.
636636
637-
=item --enough-time=3.0
637+
=item --enough-time=1.0
638638
639639
Set the amount of time a scalable test must run (not including startup and
640640
compile time) before the timing data is considered "good enough", causing

0 commit comments

Comments
 (0)