Skip to content
callcount

package

runtime

standard library

21 standard-library functions from runtime, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
6,326
non-test, non-generated
all calls
9,653
total callsites
functions
21
ranked in this snapshot
origin
std
standard-library

members

Functions in runtime

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
KeepAlive 1,263
Caller 515
GOMAXPROCS 493
NumCPU 452
Version 441
Gosched 371
SetFinalizer 362
GC 304
FuncForPC 300
Func.Name 290
Stack 250
ReadMemStats 195
LockOSThread 179
Callers 163
Frames.Next 142
UnlockOSThread 124
CallersFrames 119
NumGoroutine 106
SetBlockProfileRate 98
SetMutexProfileFraction 80
GOROOT 79