time.Time.After
standard libraryThe 272nd most-called standard-library method by production calls. Called 4,591 times across 510 modules; 3,434 of those run outside tests and generated code.
- prod calls
- 3,434
- non-test, non-generated
- all calls
- 4,591
- total callsites
- modules
- 510
- distinct callers
- in loop
- 35%
- of prod calls
- in tests
- 25%
- 1,154 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Time.After from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 213 6%
- Grafana 152 4%
- MinIO 72 2%
- InfluxDB 67 2%
- Vault 56 2%
where it's called
Callsites in the wild
12 representative callsites of 4,591, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
-
go/profiler @v0.6.0
proftest/proftest.go:381
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
- in loop
-
docker/docker @v28.5.2+incompatible
in loop -
encr.dev @v1.57.13
internal/optracker/optracker.go:70
in loop
top callers
The modules that reach for it
The modules that call Time.After most in this snapshot.
- github.com/hashicorp/boundary2375%
- github.com/kubernetes/kubernetes1042%
- github.com/seaweedfs/seaweedfs1042%
- github.com/uber/cadence1002%
- go.temporal.io/server992%
siblings
More from time
The other most-called members in this package. See all →