runtime/pprof.StartCPUProfile
standard libraryThe 4262nd most-called standard-library function by production calls. Called 150 times across 108 modules; 140 of those run outside tests and generated code.
- prod calls
- 140
- non-test, non-generated
- all calls
- 150
- total callsites
- modules
- 108
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 7%
- 10 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into StartCPUProfile from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 7 5%
- gRPC 6 4%
- Grafana 4 3%
- Kubernetes 4 3%
- etcd 3 2%
where it's called
Callsites in the wild
12 representative callsites of 150, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
tsenart/vegeta @v11.4.0+incompatible
in loop - in loop
-
hashicorp/vault @v1.21.4
in loop -
hashicorp/vault @v1.21.4
in loop - in loop test
-
vitess.io/vitess @v0.24.2
go/vt/vtgate/vstream_manager_test.go:362
in loop test -
-
miekg/dns @v0.6.90
cmd/parse/parse.go:41
-
-
etcd-io/etcd @v2.3.8+incompatible
-
top callers
The modules that reach for it
The modules that call StartCPUProfile most in this snapshot.
- golang.org/x/tools64%
- github.com/google/gvisor43%
- github.com/influxdata/influxdb43%
- codeberg.org/miekg/dns32%
- github.com/google/gopacket32%
siblings
More from runtime/pprof
The other most-called functions in this package. See all →