mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Add a -reps=N flag to "puffs bench".
This commit is contained in:
1 parent
0a45eee9d0
commit
e0f87fb2a7
4 files changed
+63
-14
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user