Skip to content

Commit

Permalink
add more sizes to bench
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Sep 12, 2024
1 parent 875b09e commit cf9c5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/benchmark/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int main(void) {
// get buffer sizes large enough that all the simd code paths get hit hard, but
// also measure the smaller buffer paths since they often can't be optimized as thoroughly.
size_t buffer_sizes[] = {8, 16, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384,
KB_TO_BYTES(32), KB_TO_BYTES(64), MB_TO_BYTES(10), MB_TO_BYTES(100), GB_TO_BYTES(1)};
KB_TO_BYTES(32), KB_TO_BYTES(64), KB_TO_BYTES(256), MB_TO_BYTES(1), MB_TO_BYTES(10), MB_TO_BYTES(100), GB_TO_BYTES(1)};
size_t buffer_sizes_len = AWS_ARRAY_SIZE(buffer_sizes);

// warm it up to factor out the cpuid checks:
Expand Down

0 comments on commit cf9c5d1

Please sign in to comment.