time.Time.Compare
standard libraryThe 3860th most-called standard-library method by production calls. Called 196 times across 55 modules; 164 of those run outside tests and generated code.
2% in production calls vs 2026-W48 (161 → 164)
- prod calls
- 164
- non-test, non-generated
- all calls
- 196
- total callsites
- modules
- 55
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 6%
- 12 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 method98%A method on a value whose type is known exactly.
- Embedded method2%Reached through an embedded type.
who calls this
Notable callers
Production calls into Time.Compare from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 196, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
moby/buildkit @v0.35.1
in loop -
encr.dev @v1.58.10
cli/cmd/encore/secrets/list.go:100
in loop - in loop
- in loop
- in loop
-
ollama/ollama @v0.40.19
in loop - in loop
-
go/mautrix @v0.33.0
bridgev2/portal.go:3710
in loop - in loop
-
tailscale.com @v1.106.1
cmd/testwrapper/testwrapper.go:430
in loop - in loop
top callers
The modules that reach for it
The modules that call Time.Compare most in this snapshot.
- github.com/hashicorp/boundary/api2111%
- go.temporal.io/server168%
- github.com/grafana/loki/v3126%
- github.com/moby/buildkit126%
- istio.io/istio105%
siblings
More from time
The other most-called members in this package. See all →