pub fn benchmark_sum_array<R: PrimeCharacteristicRing + Copy, const N: usize, const REPS: usize>(
c: &mut Criterion,
name: &str,
)where
StandardUniform: Distribution<R>,Expand description
Benchmark the time taken to sum an array [[F; N]; REPS] by summing each array [F; N] using sum_array method and accumulating the sums into an accumulator.
Making N larger and REPS smaller (vs the opposite) leans the benchmark more sensitive towards the latency (resp throughput) of the sum method.