Skip to content
callcount

package

math/rand

standard library

19 standard-library functions from math/rand, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
6,785
non-test, non-generated
all calls
34,744
total callsites
functions
19
ranked in this snapshot
origin
std
standard-library

members

Functions in math/rand

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
Intn 1,365
Rand.Intn 953
Int63 896
NewSource 690
New 646
Int31 392
Seed 303
Float64 282
Int63n 269
Rand.Float64 163
Int 128
Rand.Int63n 123
Uint32 107
Rand.Int63 92
Shuffle 88
Int31n 76
Read 75
Rand.Int31 69
Uint64 68