Skip to content
callcount

package

math/rand

standard library

17 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
36,356
total callsites
functions
17
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,373
Rand.Intn 1,040
Int63 898
NewSource 696
New 652
Int31 392
Seed 300
Float64 289
Int63n 276
Rand.Float64 167
Int 126
Rand.Int63n 124
Uint32 107
Rand.Int63 104
Shuffle 90
Int31n 76
Rand.Int31 75