]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Rebalance benchmark_compress size ranges
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sun, 28 Dec 2025 18:05:31 +0000 (19:05 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 7 Jan 2026 06:46:48 +0000 (07:46 +0100)
test/benchmarks/benchmark_compress.cc

index 2408cb2d06d48d62823a2b2a53c1172d0fd0f7b4..b1a082da83f06532c5033298a080bef878cb8406 100644 (file)
@@ -18,7 +18,7 @@ extern "C" {
 #  include "compressible_data_p.h"
 }
 
-#define MAX_SIZE (32 * 1024)
+#define MAX_SIZE (64 * 1024)
 
 class compress_bench: public benchmark::Fixture {
 private:
@@ -69,6 +69,6 @@ public:
     BENCHMARK_DEFINE_F(compress_bench, name)(benchmark::State& state) { \
         Bench(state); \
     } \
-    BENCHMARK_REGISTER_F(compress_bench, name)->Arg(1)->Arg(8)->Arg(16)->Arg(32)->Arg(64)->Arg(512)->Arg(4<<10)->Arg(32<<10);
+    BENCHMARK_REGISTER_F(compress_bench, name)->Arg(1)->Arg(16)->Arg(48)->Arg(256)->Arg(1<<10)->Arg(4<<10)->Arg(16<<10)->Arg(64<<10);
 
 BENCHMARK_COMPRESS(compress_bench);