aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew <andybons@golang.org>2019-06-18 13:32:04 -0400
committerAndrew Bonventre <andybons@golang.org>2019-06-19 21:14:12 +0000
commit832959ffcc1d99f8364e75b02d433cb72de63fc1 (patch)
tree445667900172556d7374b3160697f15863f9f074
parent0b3a57b5374bba3fdf88258e2be4c8be65e6a5de (diff)
downloadgo-832959ffcc1d99f8364e75b02d433cb72de63fc1.tar.gz
go-832959ffcc1d99f8364e75b02d433cb72de63fc1.zip
doc/go1.13: add release notes for the testing package
Change-Id: I4ddbe22061579383ca47e14d0b64a74365fb3d19 Reviewed-on: https://go-review.googlesource.com/c/go/+/182797 Reviewed-by: Katie Hockman <katie@golang.org>
-rw-r--r--doc/go1.13.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/go1.13.html b/doc/go1.13.html
index 02c0adf32b..5655b06d6c 100644
--- a/doc/go1.13.html
+++ b/doc/go1.13.html
@@ -520,15 +520,17 @@ TODO
<dl id="testing"><dt><a href="/pkg/testing/">testing</a></dt>
<dd>
<p><!-- CL 112155 -->
- TODO: <a href="https://golang.org/cl/112155">https://golang.org/cl/112155</a>: stop rounding b.N
+ When running benchmarks, <a href="/pkg/testing/#B.N"><code>B.N</code></a> is no longer rounded.
</p>
<p><!-- CL 166717 -->
- TODO: <a href="https://golang.org/cl/166717">https://golang.org/cl/166717</a>: add B.ReportMetric for custom benchmark metrics
+ The new method <a href="/pkg/testing/#B.ReportMetric"><code>B.ReportMetric</code></a> lets users report
+ custom benchmark metrics and override built-in metrics.
</p>
<p><!-- CL 173722 -->
- TODO: <a href="https://golang.org/cl/173722">https://golang.org/cl/173722</a>: delay flag registration; move to an Init function
+ Testing flags are now registered in the new <a href="/pkg/testing/#Init"><code>Init</code></a> function.
+ As a result, testing flags are now only registered when running a test binary.
</p>
</dl><!-- testing -->