aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/trace/trace_stack_test.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2020-02-19 20:54:25 +0000
committerMichael Knyszek <mknyszek@google.com>2020-03-18 17:59:19 +0000
commit7cfb814b0a43831ec6f847d7bb6ff00020393fcf (patch)
treeb123ea709798f5bf3226c841d175571182d3dd0a /src/runtime/trace/trace_stack_test.go
parent79b43fa819bca31b5be2b9ed3014d8b7faf4c8cc (diff)
downloadgo-7cfb814b0a43831ec6f847d7bb6ff00020393fcf.tar.xz
runtime: add ReadMemStats latency benchmark
This change adds a benchmark to the runtime which measures ReadMemStats latencies. It generates allocations with lots of pointers to keep the GC busy while hitting ReadMemStats and measuring the time it takes to complete. Updates #19812. Change-Id: I7a76aaf497ba5324d3c7a7b3df32461b3e6c3ac8 Reviewed-on: https://go-review.googlesource.com/c/go/+/220177 Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Diffstat (limited to 'src/runtime/trace/trace_stack_test.go')
0 files changed, 0 insertions, 0 deletions