Set default benchmark iterations to 1000

This commit is contained in:
akp 2021-12-04 20:08:28 +00:00
parent 74fe5c6019
commit 86b72539c0
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -20,7 +20,7 @@ var args struct {
ChallengeDay *int `arg:"-d,--day" help:"challenge day number to run"`
Implementation string `arg:"-i,--implementation" help:"implementation to use"`
Benchmark bool `arg:"-b,--benchmark" help:"benchmark a day's implementations'"`
BenchmarkN int `arg:"-n,--benchmark-n" help:"Number of iterations to run for benchmarking" default:"50"`
BenchmarkN int `arg:"-n,--benchmark-n" help:"Number of iterations to run for benchmarking" default:"1000"`
}
func run() error {