Add an iterscale flag

This commit is contained in:
Nigel Tao committed 2018-05-04 17:17:59 +10:00
1 parent bd71c2d9fd
commit ba98b04307
10 files changed
+97 -47

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ const (
FocusDefault = ""
FocusUsage = `comma-separated list of tests or benchmarks (name prefixes) to focus on, e.g. "wuffs_gif_decode"`
IterscaleDefault = 100
IterscaleMin = 0
IterscaleMax = 1000000
IterscaleUsage = `a scaling factor for the number of iterations per benchmark`
MimicDefault = false
MimicUsage = `whether to compare Wuffs' output with other libraries' output`