math.Min
standard libraryThe 900th most-called standard-library function by production calls. Called 801 times across 185 modules; 746 of those run outside tests and generated code.
- prod calls
- 746
- non-test, non-generated
- all calls
- 801
- total callsites
- modules
- 185
- distinct callers
- in loop
- 33%
- of prod calls
- in tests
- 7%
- 55 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 Min from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 23 3%
- Kubernetes 16 2%
- TiDB 9 1%
- InfluxDB 8 1%
- Gitea 7 <1%
where it's called
Callsites in the wild
12 representative callsites of 801, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
readeck/go-readability/v2 @v2.1.2
parser.go:954
in loop - in loop
- in loop
-
IBM/sarama @v1.60.1
in loop -
Masterminds/sprig/v3 @v3.3.0
in loop -
Mrs4s/MiraiGo @v0.0.0-20240226124653-54bdd873e3fe
in loop - in loop
-
TheAlgorithms/Go @v0.0.3-alpha
in loop -
alecthomas/chroma/v2 @v2.27.0
in loop -
blevesearch/bleve @v1.0.14
in loop
top callers
The modules that reach for it
The modules that call Min most in this snapshot.
- gonum.org/v1/gonum13817%
- github.com/terrastruct/d2506%
- github.com/infiniflow/ragflow314%
- gonum.org/v1/plot273%
- github.com/disintegration/imaging152%
siblings
More from math
The other most-called functions in this package. See all →