strconv.AppendInt
standard libraryThe 54th most-called standard-library function by production calls. Called 18,182 times across 145 modules; 18,154 of those run outside tests and generated code.
- prod calls
- 18,154
- non-test, non-generated
- all calls
- 18,182
- total callsites
- modules
- 145
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- <1%
- 27 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.01× the estimated relative cost of fmt.Sprintf . Benchmarked at 9.16 ns/op × 18,154 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 AppendInt from notable Go projects. Open one on the map to see what else it hammers.
- InfluxDB 34 <1%
- Go (golang.org/x) 15 <1%
- Kubernetes 10 <1%
- Protocol Buffers 9 <1%
- VictoriaMetrics 7 <1%
where it's called
Callsites in the wild
12 representative callsites of 18,182, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cilium/dns @v1.1.50
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.90
dnsutil/reverse.go:40
in loop -
DNSCrypt/dnscrypt-proxy @v0.0.0-20260801091651-c3ba78fac8a3
in loop -
cloudreve/cloudreve @v0.0.0-20200909065614-40414fe6ae9f
in loop -
fish2018/pansou @v0.0.0-20260614140555-de1fcb7311c7
in loop -
go-asn1-ber/asn1-ber @v1.5.8
in loop - in loop
-
go-playground/validator @v9.31.0+incompatible
in loop - in loop
-
go-sql-driver/mysql @v1.10.0
in loop - in loop
top callers
The modules that reach for it
The modules that call AppendInt most in this snapshot.
- github.com/go-playground/locales17,66597%
- github.com/vitessio/vitess53<1%
- vitess.io/vitess53<1%
- github.com/influxdata/influxdb33<1%
- github.com/rs/zerolog20<1%
siblings
More from strconv
The other most-called functions in this package. See all →