Updates #43620.
Change-Id: If2b6f37d79c055ca5799071bf70fcc9d12b8a2a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/449077
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
</dd>
</dl><!-- syscall -->
+<dl id="testing"><dt><a href="/pkg/testing/">testing</a></dt>
+ <dd>
+ <p><!-- https://go.dev/issue/43620, CL 420254 -->
+ The new method <a href="/pkg/testing/#B.Elapsed"><code>B.Elapsed</code></a>
+ reports the current elapsed time of the benchmark, which may be useful for
+ calculating rates to report with <code>ReportMetric</code>.
+ </p>
+ </dd>
+</dl><!-- testing -->
+
<dl id="time"><dt><a href="/pkg/time/">time</a></dt>
<dd>
<p><!-- https://go.dev/issue/52746 -->