summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2014-10-01 13:19:40 -0700
committerRobert Griesemer <gri@golang.org>2014-10-01 13:19:40 -0700
commit1b379b71a66f387ea1482f24b0fa535f6606433d (patch)
tree0515a7e4d9d958f1d228f933e82a181a472e7cb1 /src
parent071d0d86838e61b6d981e6f1a3721fabbeb175cc (diff)
downloadgo-1b379b71a66f387ea1482f24b0fa535f6606433d.tar.gz
testing: clearer comment
Fixes issue 8797. LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/146680043
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go
index 21460b0ed..f91d860a9 100644
--- a/src/testing/testing.go
+++ b/src/testing/testing.go
@@ -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.