diff options
-rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -78,6 +78,12 @@ func main() { workAggregator(ctx, opts, answerCh) }() + start := time.Now().Round(time.Second) + defer func() { + end := time.Now().Round(time.Second) + log.Printf("INFO: measurement duration was %v\n", end.Sub(start)) + }() + log.Printf("INFO: generating work\n") nextLine, readAll := workGenerator(ctx, opts, fp, questionCh) if !readAll { |