math/big.NewRat
standard libraryThe 7495th most-called standard-library function by production calls. Called 230 times across 20 modules; 83 of those run outside tests and generated code.
No change in production calls since 2026-W48.
- prod calls
- 83
- non-test, non-generated
- all calls
- 230
- total callsites
- modules
- 20
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 64%
- 147 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.
who calls this
Notable callers
Production calls into NewRat from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 11 13%
- Docker 2 2%
- Go (golang.org/x) 2 2%
- CockroachDB 1 1%
where it's called
Callsites in the wild
12 representative callsites of 230, prioritizing in-loop and non-test usage. We link to source, never display it.
-
NoFxAiOS/nofx @v0.0.0-20261104124651-65e9037b4527
in loop -
gokcehan/lf @v0.0.0-20261119225106-8b8780299a83
in loop -
go.k6.io/k6 @v1.8.3
lib/execution_segment.go:644
in loop - in loop
-
NoFxAiOS/nofx @v0.0.0-20261104124651-65e9037b4527
in loop -
gokcehan/lf @v0.0.0-20261119225106-8b8780299a83
in loop -
go.k6.io/k6 @v1.8.3
lib/execution_segment.go:644
in loop - in loop
-
NoFxAiOS/nofx @v0.0.0-20261104124651-65e9037b4527
in loop -
gokcehan/lf @v0.0.0-20261119225106-8b8780299a83
in loop -
NoFxAiOS/nofx @v0.0.0-20261104124651-65e9037b4527
in loop -
gokcehan/lf @v0.0.0-20261119225106-8b8780299a83
in loop
top callers
The modules that reach for it
The modules that call NewRat most in this snapshot.
- github.com/grafana/k66930%
- go.k6.io/k66930%
- github.com/NoFxAiOS/nofx3214%
- github.com/SAP/go-hdb198%
- github.com/shopspring/decimal115%
siblings
More from math/big
The other most-called functions in this package. See all →