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,798
non-test, non-generated
all calls
34,977
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 958
Int63 897
NewSource 692
New 648
Int31 392
Seed 303
Float64 281
Int63n 271
Rand.Float64 164
Int 128
Rand.Int63n 124
Uint32 107
Rand.Int63 92
Shuffle 88
Int31n 76
Read 75
Rand.Int31 69
Uint64 68