From b0cb3cddc2003bf41f9190c80dc77ef3e83ca12e Mon Sep 17 00:00:00 2001 From: VirgilZhu <94546750@qq.com> Date: Tue, 7 Jan 2025 00:16:34 +0800 Subject: [PATCH] change benchmark apras --- benchmarks/db_bench.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/db_bench.cc b/benchmarks/db_bench.cc index 8da8f95..eb1c40b 100644 --- a/benchmarks/db_bench.cc +++ b/benchmarks/db_bench.cc @@ -62,8 +62,8 @@ static const char* FLAGS_benchmarks = "readseq," "readreverse," "deleteseq," - "deleterandom," - "fill100K,"; + "deleterandom,"; +// "fill100K,"; // "crc32c," // "snappycomp," // "snappyuncomp," @@ -71,21 +71,21 @@ static const char* FLAGS_benchmarks = // "zstduncomp,"; // Number of key/values to place in database -static int FLAGS_num = 1000000; +static int FLAGS_num = 100000; -static int FLAGS_delete_num = 100000; +static int FLAGS_delete_num = 10000; // Number of read operations to do. If negative, do FLAGS_num reads. static int FLAGS_reads = -1; // Number of given fields used in FindKeysByField test. If negative, write in half of FLAGS_num targets with given field. -static int FLAGS_num_fields = 100000; +static int FLAGS_num_fields = 10000; // Number of concurrent threads to run. static int FLAGS_threads = 1; // Size of each value -static int FLAGS_value_size = 1024; +static int FLAGS_value_size = 100; // Arrange to generate values that shrink to this fraction of // their original size after compression