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,427
non-test, non-generated
all calls
10,025
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,293
Caller 512
GOMAXPROCS 503
NumCPU 461
Version 452
Gosched 381
SetFinalizer 363
GC 309
FuncForPC 304
Func.Name 296
Stack 252
ReadMemStats 199
LockOSThread 180
Callers 163
Frames.Next 146
UnlockOSThread 124
CallersFrames 123
NumGoroutine 107
SetBlockProfileRate 100
SetMutexProfileFraction 81
GOROOT 78