pub fn benchmark_dot_array<R: PrimeCharacteristicRing + Copy, const N: usize>(
c: &mut Criterion,
name: &str,
)where
StandardUniform: Distribution<R>,Expand description
Benchmark the time taken to do dot products on a pair of [R; N] arrays.
These numbers get more trustworthy as N increases. Small N leads to the computation being too fast to be measured accurately.