strconv.ParseInt
standard libraryThe 187th most-called standard-library function by production calls. Called 7,816 times across 778 modules; 5,311 of those run outside tests and generated code.
0% in production calls vs 2026-W37 (5,288 → 5,311)
- prod calls
- 5,311
- non-test, non-generated
- all calls
- 7,816
- total callsites
- modules
- 778
- distinct callers
- in loop
- 22%
- of prod calls
- in tests
- 7%
- 573 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 17.94 ns/op × 5,311 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 ParseInt from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 229 4%
- InfluxDB 173 3%
- Grafana 107 2%
- Gitea 104 2%
- Docker 71 1%
where it's called
Callsites in the wild
12 representative callsites of 7,816, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
charm.land/fantasy @v0.44.0
jsonrepair/jsonrepair.go:942
in loop - in loop
- in loop
- in loop
-
miekg/dns @v0.6.114
cmd/atomdns/handlers/drunk/setup.go:31
in loop - in loop
- in loop
- in loop
-
dgraph-io/badger/v4 @v4.9.6
in loop -
docker/docker @v28.5.2+incompatible
in loop
top callers
The modules that reach for it
The modules that call ParseInt most in this snapshot.
- github.com/elastic/go-elasticsearch/v880710%
- github.com/aws/aws-sdk-go-v2/service/ec23875%
- github.com/influxdata/telegraf1612%
- github.com/larksuite/cli1312%
- github.com/aws/aws-sdk-go-v2/service/cloudfront1131%
siblings
More from strconv
The other most-called functions in this package. See all →