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,436
non-test, non-generated
all calls
10,082
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,296
Caller 512
GOMAXPROCS 510
NumCPU 456
Version 452
Gosched 382
SetFinalizer 363
GC 309
FuncForPC 304
Func.Name 296
Stack 252
ReadMemStats 199
LockOSThread 180
Callers 164
Frames.Next 147
UnlockOSThread 124
CallersFrames 124
NumGoroutine 107
SetBlockProfileRate 100
SetMutexProfileFraction 81
GOROOT 78