]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: mention runtime/pprof improvements
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Wed, 23 Feb 2022 09:55:18 +0000 (10:55 +0100)
committerMichael Pratt <mpratt@google.com>
Thu, 24 Feb 2022 17:31:07 +0000 (17:31 +0000)
For #47694.

Change-Id: Ib49145a58b8388d35267cf4b0caa730d7e436d06
Reviewed-on: https://go-review.googlesource.com/c/go/+/387574
Reviewed-by: Michael Pratt <mpratt@google.com>
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Rhys Hiltner <rhys@justin.tv>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Bryan Mills <bcmills@google.com>

doc/go1.18.html

index 2af5e04f98060323b8422effaeba57bcf7eb604b..bc29ed4afe63bafd4e42d656b7ecf33717a811d8 100644 (file)
@@ -1141,6 +1141,16 @@ For more details, see <a href="https://go.dev/issue/44505">go.dev/issue/44505</a
   </dd>
 </dl><!-- runtime/debug -->
 
+<dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>
+  <dd>
+    <p><!-- CL 324129 -->
+      The CPU profiler now uses per-thread timers on Linux. This increases the
+      maximum CPU usage that a profile can observe, and reduces some forms of
+      bias.
+    </p>
+  </dd>
+</dl><!-- runtime/pprof -->
+
 <dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
   <dd>
     <p><!-- CL 343877 -->