Add a -reps=N flag to "puffs bench".

This commit is contained in:
Nigel Tao committed 2017-07-30 08:27:52 +10:00
1 parent 0a45eee9d0
commit e0f87fb2a7
4 files changed
+63 -14

No files matched your search

+5
View File
@@ -110,6 +110,11 @@ const (
mimicDefault = false
mimicUsage = `whether to compare Puffs' output with other libraries' output`
repsDefault = 5
repsMin = 0
repsMax = 1000000
repsUsage = `the number of repetitions per benchmark`
)
func parseLangs(commaSeparated string) ([]string, error) {