package
context
standard library15 standard-library functions from context, ranked by how often they are called outside tests and generated code.
- prod calls
- 134,666
- non-test, non-generated
- all calls
- 370,892
- 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 | 73,438 |
| Context.Done | 14,536 |
| Context.Err | 12,100 |
| TODO | 10,060 |
| WithTimeout | 9,459 |
| WithCancel | 5,028 |
| Context.Value | 4,402 |
| WithValue | 3,006 |
| WithoutCancel | 836 |
| Context.Deadline | 493 |
| Cause | 447 |
| WithCancelCause | 348 |
| WithDeadline | 242 |
| AfterFunc | 176 |
| WithTimeoutCause | 95 |