package
runtime
standard library21 standard-library functions from runtime, ranked by how often they are called outside tests and generated code.
- prod calls
- 6,571
- non-test, non-generated
- all calls
- 10,833
- 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,313 |
| GOMAXPROCS | 535 |
| Caller | 513 |
| NumCPU | 467 |
| Version | 460 |
| Gosched | 387 |
| SetFinalizer | 363 |
| GC | 320 |
| FuncForPC | 308 |
| Func.Name | 299 |
| Stack | 260 |
| ReadMemStats | 202 |
| LockOSThread | 196 |
| Callers | 169 |
| Frames.Next | 152 |
| UnlockOSThread | 135 |
| CallersFrames | 129 |
| NumGoroutine | 105 |
| SetBlockProfileRate | 100 |
| GOROOT | 79 |
| SetMutexProfileFraction | 79 |