encoding/csv.Reader.Read
standard libraryThe 3222nd most-called standard-library method by production calls. Called 203 times across 94 modules; 184 of those run outside tests and generated code.
- prod calls
- 184
- non-test, non-generated
- all calls
- 203
- total callsites
- modules
- 94
- distinct callers
- in loop
- 46%
- of prod calls
- in tests
- 9%
- 19 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.
- Embedded method<1%Reached through an embedded type.
estimate
Estimated relative cost
Roughly 0.01× the estimated relative cost of fmt.Sprintf . Benchmarked at 960.3 ns/op × 184 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 Reader.Read from notable Go projects. Open one on the map to see what else it hammers.
- Docker 11 6%
- Kubernetes 10 5%
- InfluxDB 9 5%
- Grafana 7 4%
- Argo 4 2%
where it's called
Callsites in the wild
12 representative callsites of 203, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
docker/cli @v29.7.1+incompatible
in loop - in loop
-
gitea.dev @v1.27.1
modules/markup/csv/csv.go:95
in loop -
DATA-DOG/go-sqlmock @v1.5.2
in loop -
GoesToEleven/GolangTraining @v0.0.0-20230828175525-f9a4f6cf3939
27_code-in-process/32_package-encoding-csv/02_column-headings/main.go:22 ↗
in loop - in loop
- in loop
-
aquasecurity/table @v1.11.0
in loop -
aquasecurity/trivy-java-db @v0.0.0-20260513130532-ec095357db14
in loop - in loop
top callers
The modules that reach for it
The modules that call Reader.Read most in this snapshot.
- github.com/GoesToEleven/GolangTraining147%
- github.com/docker/cli94%
- github.com/grafana/k673%
- github.com/influxdata/telegraf73%
- go.k6.io/k673%
siblings
More from encoding/csv
The other most-called members in this package. See all →