1
0
mirror of https://github.com/golang/go synced 2024-09-24 03:00:12 -06:00

testing: clearer comment

Fixes #8797.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/146680043
This commit is contained in:
Robert Griesemer 2014-10-01 13:19:40 -07:00
parent cd5b785efe
commit 5edff32704

View File

@ -44,7 +44,7 @@
// }
//
// The benchmark function must run the target code b.N times.
// The benchmark package will vary b.N until the benchmark function lasts
// During benchark execution, b.N is adjusted until the benchmark function lasts
// long enough to be timed reliably. The output
// BenchmarkHello 10000000 282 ns/op
// means that the loop ran 10000000 times at a speed of 282 ns per loop.