time.Time.After
standard libraryThe 263rd most-called standard-library method by production calls. Called 5,034 times across 518 modules; 3,724 of those run outside tests and generated code.
3% in production calls vs 2026-W39 (3,614 → 3,724)
- prod calls
- 3,724
- non-test, non-generated
- all calls
- 5,034
- total callsites
- modules
- 518
- distinct callers
- in loop
- 36%
- of prod calls
- in tests
- 26%
- 1,307 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 222 6%
- Grafana 159 4%
- MinIO 72 2%
- InfluxDB 67 2%
- Vault 57 2%
where it's called
Callsites in the wild
12 representative callsites of 5,034, 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.7.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.58.6
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%
- go.temporal.io/server1323%
- github.com/seaweedfs/seaweedfs1212%
- github.com/grafana/loki/v31032%
- github.com/kubernetes/kubernetes1032%
siblings
More from time
The other most-called members in this package. See all →