diff options
| author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2026-01-14 23:37:34 +0100 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2026-01-20 22:59:40 +0100 |
| commit | 6963588b3eae983b549a23dfda9b415869663250 (patch) | |
| tree | 213e07b0490eab33c57d8e423eb92a29f093662e /test | |
| parent | fb9a6cee44b6d859ac5154ea0e847dc60e75bba9 (diff) | |
| download | Project-Tick-6963588b3eae983b549a23dfda9b415869663250.tar.gz Project-Tick-6963588b3eae983b549a23dfda9b415869663250.zip | |
Fix name collision in inflate benchmark
Diffstat (limited to 'test')
| -rw-r--r-- | test/benchmarks/benchmark_inflate.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/benchmarks/benchmark_inflate.cc b/test/benchmarks/benchmark_inflate.cc index 5d0c7dba52..ef3457b11d 100644 --- a/test/benchmarks/benchmark_inflate.cc +++ b/test/benchmarks/benchmark_inflate.cc @@ -21,7 +21,7 @@ extern "C" { #define MAX_SIZE (1024 * 1024) #define NUM_TESTS 6 -class inflate: public benchmark::Fixture { +class inflate_bench: public benchmark::Fixture { private: uint8_t *inbuff; uint8_t *outbuff; @@ -161,9 +161,9 @@ public: }; #define BENCHMARK_INFLATE(name) \ - BENCHMARK_DEFINE_F(inflate, name)(benchmark::State& state) { \ + BENCHMARK_DEFINE_F(inflate_bench, name)(benchmark::State& state) { \ Bench(state); \ } \ - BENCHMARK_REGISTER_F(inflate, name)->Arg(1)->Arg(64)->Arg(1024)->Arg(16<<10)->Arg(128<<10)->Arg(1024<<10); + BENCHMARK_REGISTER_F(inflate_bench, name)->Arg(1)->Arg(64)->Arg(1024)->Arg(16<<10)->Arg(128<<10)->Arg(1024<<10); BENCHMARK_INFLATE(inflate_nocrc); |
