Tezos_benchmark.Base_samplersSourceThe type of samplers. Samplers should be deterministic in their input. Note that a value of type Random.State.t is mutable and can be updated destructively at each call of the sampler.
Range (inclusive)
sample_in_interval ~range creates a sampler in the specified interval.
sample_float_in_interval ~min ~max creates a sampler in the specified interval.
Samples the specified number of bits uniformly at random. The sampled bits are the nbits least significant ones in the returned char.
Samples a string of length nbytes uniformly at random.
Samples bytes of length nbytes uniformly at random.
Samples a non-negative big integer stored on nbytes bytes, uniformly at random (modulo trailing zeroes).
Samples a big integer stored on nbytes bytes, uniformly at random (modulo trailing zeroes).
Samples a size in bytes uniformly in size and then samples a uniform non-negative big integer of this size.
Samples a size in bytes uniformly in size and then samples a uniform big integer of this size.
Samples a readable string with length sampled uniformly in size.
Samples a string with length sampled uniformly in size.
Sampling of "adversarial" values in the sense that they exhibit the worst-case performance of the usual comparison functions.