diff --git a/vlib/benchmark/benchmark.v b/vlib/benchmark/benchmark.v index c89e942244..66a2973f3e 100644 --- a/vlib/benchmark/benchmark.v +++ b/vlib/benchmark/benchmark.v @@ -119,7 +119,7 @@ pub fn start() Benchmark { return b } -// measure prints the current time spent doing `label`, since the benchmark was started. +// measure prints the current time spent doing `label`, since the benchmark was started, or since its last call pub fn (mut b Benchmark) measure(label string) i64 { b.ok() res := b.step_timer.elapsed().microseconds()