Skip to content

Commit

Permalink
chore: update benchmark arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
wst24365888 committed Dec 12, 2022
1 parent 450e84e commit c610f78
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions benchmarks/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,13 @@ static void BM_streamvbyte_decode_zigzag(benchmark::State& state) {
delete[] recovered_data;
}

BENCHMARK(BM_streamvbyte_encode)->RangeMultiplier(2)->Range(1 << 10, 1 << 20);
BENCHMARK(BM_streamvbyte_decode)->RangeMultiplier(2)->Range(1 << 10, 1 << 20);
BENCHMARK(BM_streamvbyte_encode_zigzag)->RangeMultiplier(2)->Range(1 << 10, 1 << 20);
BENCHMARK(BM_streamvbyte_decode_zigzag)->RangeMultiplier(2)->Range(1 << 10, 1 << 20);
BENCHMARK(BM_streamvbyte_encode)->Range(1 << 20, 1 << 20);
BENCHMARK(BM_streamvbyte_encode)->Range(1 << 30, 1 << 30)->Iterations(100);
BENCHMARK(BM_streamvbyte_decode)->Range(1 << 20, 1 << 20);
BENCHMARK(BM_streamvbyte_decode)->Range(1 << 30, 1 << 30)->Iterations(100);
BENCHMARK(BM_streamvbyte_encode_zigzag)->Range(1 << 20, 1 << 20);
BENCHMARK(BM_streamvbyte_encode_zigzag)->Range(1 << 30, 1 << 30)->Iterations(100);
BENCHMARK(BM_streamvbyte_decode_zigzag)->Range(1 << 20, 1 << 20);
BENCHMARK(BM_streamvbyte_decode_zigzag)->Range(1 << 30, 1 << 30)->Iterations(100);

BENCHMARK_MAIN();

0 comments on commit c610f78

Please sign in to comment.