Add a puffs/cmd/commonflags package.

This commit is contained in:
Nigel Tao committed 2017-11-04 11:09:14 +11:00
1 parent 66047db6d8
commit a0fd42f6d4
6 files changed
+76 -71

No files matched your search

-16
View File
@@ -46,19 +46,3 @@ func main1() error {
}
return fmt.Errorf("bad sub-command %q", os.Args[1])
}
const (
ccompilersDefault = "clang,gcc"
ccompilersUsage = `comma-separated list of C compilers, e.g. "clang,gcc"`
focusDefault = ""
focusUsage = `comma-separated list of tests or benchmarks (name prefixes) to focus on, e.g. "puffs_gif_decode"`
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`
)