package
context
standard library15 standard-library functions from context, ranked by how often they are called outside tests and generated code.
- prod calls
- 144,158
- non-test, non-generated
- all calls
- 408,464
- total callsites
- functions
- 15
- ranked in this snapshot
- origin
- std
- standard-library
members
Functions in context
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| Background | 74,998 |
| Context.Done | 15,472 |
| Context.Err | 14,491 |
| WithTimeout | 10,349 |
| TODO | 9,832 |
| WithValue | 5,612 |
| WithCancel | 5,322 |
| Context.Value | 4,752 |
| WithoutCancel | 1,144 |
| Cause | 578 |
| Context.Deadline | 568 |
| WithCancelCause | 392 |
| AfterFunc | 281 |
| WithDeadline | 264 |
| WithTimeoutCause | 103 |