Skip to content
callcount

io.Reader.Read

standard library

The 22nd most-called standard-library method by production calls. Called 1,180 times across 134 modules; 1,024 of those run outside tests and generated code.

7% in production calls vs 2026-06-sample (960 → 1,024)

All of io → Docs on pkg.go.dev ↗

prod calls
1,024
non-test, non-generated
all calls
1,180
total callsites
modules
134
distinct callers
in loop
18%
of prod calls
in tests
10%
118 calls
resolved
15%
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 method15%A method on a value whose type is known exactly.
  • Interface method85%Called through an interface. The runtime target may differ.

who calls this

Notable callers

Production calls into Reader.Read from notable Go projects. Open one on the map to see what else it hammers.

top callers

The modules that reach for it

The modules that call Reader.Read most in this snapshot.

  • google.golang.org/grpc37232%
  • github.com/prometheus/prometheus21418%
  • k8s.io/apimachinery16814%
  • github.com/docker/docker12110%

siblings

More from io

The other most-called members in this package. See all →