flag.Duration
standard libraryThe 1636th most-called standard-library function by production calls. Called 393 times across 66 modules; 375 of those run outside tests and generated code.
- prod calls
- 375
- non-test, non-generated
- all calls
- 393
- total callsites
- modules
- 66
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 5%
- 18 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Duration from notable Go projects. Open one on the map to see what else it hammers.
- VictoriaMetrics 184 49%
- Grafana 34 9%
- Kubernetes 13 3%
- Tailscale 11 3%
- CockroachDB 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 393, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
-
docker/docker @v28.5.2+incompatible
-
-
-
-
-
-
-
go-ping/ping @v1.2.0
-
-
-
google/gousb @v1.1.3
top callers
The modules that reach for it
The modules that call Duration most in this snapshot.
- github.com/VictoriaMetrics/VictoriaLogs9324%
- github.com/VictoriaMetrics/VictoriaMetrics9123%
- github.com/grafana/loki/v3236%
- github.com/google/certificate-transparency-go195%
- github.com/sagernet/tailscale133%
siblings
More from flag
The other most-called functions in this package. See all →