aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 52ea628..b726dd1 100644
--- a/main.go
+++ b/main.go
@@ -245,9 +245,10 @@ func workGenerator(ctx context.Context, opts options.Options, fp *os.File, quest
return nextLine, false
case <-ticker.C:
now := time.Now().Unix()
- log.Printf("INFO: currently %.1f sites/s, %.1f sites/s since start\n",
+ log.Printf("INFO: currently %.1f sites/s, %.1f sites/s since start, at line %d\n",
float64(nextLine-latestCount)/float64(now-latestTime),
float64(nextLine-opts.NextLine)/float64(now-startTime),
+ nextLine,
)
latestCount = nextLine