Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lwwmanning committed Oct 10, 2024
1 parent edb43e8 commit 9d01d84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions benches/bitpacking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ fn throughput(c: &mut Criterion) {
const N: usize = 1024 * NUM_BATCHES;
const OUTPUT_BATCH_SIZE: usize = 128 * WIDTH / size_of::<u16>();

let mut group = c
.benchmark_group("throughput");
let mut group = c.benchmark_group("throughput");
group.throughput(Throughput::Bytes(N as u64 * size_of::<u16>() as u64));
let mut values: Vec<u16> = (0..N).map(|i| (i % 8) as u16).collect();
let mut packed = vec![0u16; NUM_BATCHES * OUTPUT_BATCH_SIZE];
Expand Down
3 changes: 1 addition & 2 deletions benches/delta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ fn throughput(c: &mut Criterion) {
const N: usize = 1024 * NUM_BATCHES;
const OUTPUT_BATCH_SIZE: usize = 128 * WIDTH / size_of::<u16>();

let mut group = c
.benchmark_group("throughput");
let mut group = c.benchmark_group("throughput");
group.throughput(Throughput::Bytes(N as u64 * size_of::<u16>() as u64));
let mut values: Vec<u16> = (0..N).map(|i| (i % 8) as u16).collect();
let mut packed = vec![0u16; NUM_BATCHES * OUTPUT_BATCH_SIZE];
Expand Down

0 comments on commit 9d01d84

Please sign in to comment.