Documentation ¶
Index ¶
- Constants
- func ClientsCount() int
- func GenSize() int
- func RandomBool(r *rand.Rand) bool
- func RandomFloat64(r *rand.Rand) float64
- func RandomInt(r *rand.Rand) int
- func RandomInt64(r *rand.Rand) int64
- func RandomString(r *rand.Rand) string
- func ReportMetrics(clientsCount int, copsD chan time.Duration, b *testing.B)
Constants ¶
View Source
const DefClientsCount = 1
View Source
const DefGenSize = 200000
View Source
const Delay = 30 * time.Millisecond
View Source
const IOBufSize = 4 * 1024
View Source
const MaxStringLength = 1007
Variables ¶
This section is empty.
Functions ¶
func ClientsCount ¶
func ClientsCount() int
func RandomBool ¶
func RandomFloat64 ¶
func RandomInt64 ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.