Timer for funsies.
This commit is contained in:
parent
ffacb0a6c6
commit
818c1d8ab6
|
@ -40,6 +40,7 @@ var logLevels = []log.Level{
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
now := time.Now()
|
||||||
options := Options{}
|
options := Options{}
|
||||||
parser := flags.NewParser(&options, flags.Default)
|
parser := flags.NewParser(&options, flags.Default)
|
||||||
|
|
||||||
|
@ -86,5 +87,5 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Infof("Written %d results: %s", len(*results), options.Output)
|
logger.Infof("Written %d results after %s: %s", len(*results), time.Now().Sub(now), options.Output)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue