]> Cypherpunks repositories - gostls13.git/commitdiff
testing: clearer comment
authorRobert Griesemer <gri@golang.org>
Wed, 1 Oct 2014 20:19:40 +0000 (13:19 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 1 Oct 2014 20:19:40 +0000 (13:19 -0700)
Fixes #8797.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/146680043

src/testing/testing.go

index 21460b0ed4047effa8bb4d1253655a76d61dac6c..f91d860a945607ae04e30c884f599662ec4e40ac 100644 (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.