From 6234e467e50b35e967b9a91f8b6fa01fa6691bfa Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Wed, 9 Nov 2022 11:19:21 -0500 Subject: [PATCH] doc/go1.20: add a release note for (*testing.B).Elapsed Updates #43620. Change-Id: If2b6f37d79c055ca5799071bf70fcc9d12b8a2a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/449077 Reviewed-by: Russ Cox Run-TryBot: Bryan Mills Auto-Submit: Bryan Mills TryBot-Result: Gopher Robot --- doc/go1.20.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/go1.20.html b/doc/go1.20.html index 551403fa45..767b6b646f 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -623,6 +623,16 @@ Do not send CLs removing the interior tags from such phrases. +
testing
+
+

+ The new method B.Elapsed + reports the current elapsed time of the benchmark, which may be useful for + calculating rates to report with ReportMetric. +

+
+
+
time

-- 2.50.0