time.Duration.Round
standard libraryThe 823rd most-called standard-library method by production calls. Called 978 times across 151 modules; 827 of those run outside tests and generated code.
- prod calls
- 827
- non-test, non-generated
- all calls
- 978
- total callsites
- modules
- 151
- distinct callers
- in loop
- 30%
- of prod calls
- in tests
- 15%
- 151 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.
who calls this
Notable callers
Production calls into Duration.Round from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 44 5%
- Dgraph 35 4%
- Kubernetes 22 3%
- Grafana 17 2%
- HashiCorp 17 2%
where it's called
Callsites in the wild
12 representative callsites of 978, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
-
dgraph-io/badger/v4 @v4.9.6
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
coder/coder @v0.27.3
in loop
top callers
The modules that reach for it
The modules that call Duration.Round most in this snapshot.
- github.com/steveyegge/gastown838%
- github.com/gastownhall/gastown647%
- tailscale.com596%
- github.com/sagernet/tailscale465%
- github.com/tailscale/tailscale465%
siblings
More from time
The other most-called members in this package. See all →