io.ReadFull
standard libraryThe 328th most-called standard-library function by production calls. Called 3,631 times across 468 modules; 2,697 of those run outside tests and generated code.
- prod calls
- 2,697
- non-test, non-generated
- all calls
- 3,631
- total callsites
- modules
- 468
- distinct callers
- in loop
- 18%
- of prod calls
- in tests
- 25%
- 890 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.
estimate
Estimated relative cost
Roughly 0.00× the estimated relative cost of fmt.Sprintf . Benchmarked at 5.87 ns/op × 2,697 production calls, normalized so fmt.Sprintf = 1.0.
This is not dollars and not a verdict. Per-op time depends heavily on inputs (argument sizes, contention, patterns), the benchmark ran on a single machine (darwin/arm64 (Apple Silicon), go1.26.0), and static call counts are not runtime frequency. How this is estimated →
who calls this
Notable callers
Production calls into ReadFull from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 84 3%
- Tailscale 68 3%
- Grafana 49 2%
- VictoriaMetrics 36 1%
- MinIO 35 1%
where it's called
Callsites in the wild
12 representative callsites of 3,631, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
-
moby/moby @v28.5.2+incompatible
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop -
go-gitea/gitea @v1.27.1
in loop -
gitea.dev @v1.27.1
modules/util/io.go:52
in loop - in loop
-
AlexxIT/go2rtc @v1.9.14
in loop - in loop
-
Microsoft/go-winio @v0.6.2
in loop
top callers
The modules that reach for it
The modules that call ReadFull most in this snapshot.
- github.com/sagernet/tailscale963%
- github.com/tailscale/tailscale963%
- tailscale.com963%
- github.com/XTLS/Xray-core772%
- github.com/xtls/xray-core772%
siblings
More from io
The other most-called functions in this package. See all →