]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/metrics: improve doc
authorQingwei Li@WSL <lqw332664203@mail.ustc.edu.cn>
Tue, 19 Aug 2025 21:47:50 +0000 (21:47 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 22 Aug 2025 18:39:55 +0000 (11:39 -0700)
Polish a sentence by removing redundant "in response".

Change-Id: I232198ad904333f8eaa0c25a12824f0dcbf3cfb6
GitHub-Last-Rev: 421bfc03874f84a280e09bbd59d0bd074b4c9574
GitHub-Pull-Request: golang/go#72793
Reviewed-on: https://go-review.googlesource.com/c/go/+/656735
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sean Liao <sean@liao.dev>

src/runtime/metrics/description.go
src/runtime/metrics/doc.go

index c8c5bf98881a779e53ce88acbc70f04bcfaa7103..b9a6ab5fea6083ac9720d10d81157e244f9adb15 100644 (file)
@@ -126,7 +126,7 @@ var allDesc = []Description{
        {
                Name: "/cpu/classes/scavenge/assist:cpu-seconds",
                Description: "Estimated total CPU time spent returning unused memory to the " +
-                       "underlying platform in response eagerly in response to memory pressure. " +
+                       "underlying platform in response eagerly to memory pressure. " +
                        "This metric is an overestimate, and not directly comparable to " +
                        "system CPU time measurements. Compare only with other /cpu/classes " +
                        "metrics.",
index 00ce60dde1a7f5212e2da10b67b671ad3969aa31..e40ce25ff9d1bc301355a5b23f4cdfb046c6607b 100644 (file)
@@ -104,10 +104,10 @@ Below is the full list of supported metrics, ordered lexicographically.
 
        /cpu/classes/scavenge/assist:cpu-seconds
                Estimated total CPU time spent returning unused memory to the
-               underlying platform in response eagerly in response to memory
-               pressure. This metric is an overestimate, and not directly
-               comparable to system CPU time measurements. Compare only with
-               other /cpu/classes metrics.
+               underlying platform in response eagerly to memory pressure. This
+               metric is an overestimate, and not directly comparable to system
+               CPU time measurements. Compare only with other /cpu/classes
+               metrics.
 
        /cpu/classes/scavenge/background:cpu-seconds
                Estimated total CPU time spent performing background tasks to