summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHans Kristian Rosbach <hk-git@circlestorm.org>2026-01-14 23:37:34 +0100
committerHans Kristian Rosbach <hk-github@circlestorm.org>2026-01-20 22:59:40 +0100
commit6963588b3eae983b549a23dfda9b415869663250 (patch)
tree213e07b0490eab33c57d8e423eb92a29f093662e /test
parentfb9a6cee44b6d859ac5154ea0e847dc60e75bba9 (diff)
downloadProject-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.cc6
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);