Skip to content

Commit

Permalink
adds non-power-of-2 sizes to the benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
zslayton committed Feb 21, 2024
1 parent 3e204e3 commit a84b390
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benches/benches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,13 @@ const ALLOCATIONS: usize = 10_000;
fn bench_extend_from_slice_copy(c: &mut Criterion) {
let lengths = &[
4usize,
5,
8,
11,
16,
64,
128,
331,
1024,
4 * 1024,
16 * 1024,
Expand Down

0 comments on commit a84b390

Please sign in to comment.