benchmark_dot_array

Function benchmark_dot_array 

Source
pub fn benchmark_dot_array<R: PrimeCharacteristicRing + Copy, const N: usize>(
    c: &mut Criterion,
    name: &str,
)
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.