Skip to content
callcount

package

context

standard library

15 standard-library functions from context, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
137,841
non-test, non-generated
all calls
377,035
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,585
Context.Done 14,677
Context.Err 12,422
TODO 10,058
WithTimeout 9,563
WithValue 5,277
WithCancel 5,065
Context.Value 4,474
WithoutCancel 873
Context.Deadline 509
Cause 459
WithCancelCause 352
WithDeadline 242
AfterFunc 188
WithTimeoutCause 97