Timer for funsies.

This commit is contained in:
Andrey Petrov 2014-04-25 16:27:10 -07:00
parent ffacb0a6c6
commit 818c1d8ab6
1 changed files with 2 additions and 1 deletions

View File

@ -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)
} }