From 578aa6bbc51bdda9bf78c5ecfe2ccf4bc05c08bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=BA=BA=E9=B1=BC?= <1823748191@qq.com> Date: Mon, 9 Dec 2024 00:54:30 +0800 Subject: [PATCH] update benchmark --- benchmarks/db_bench.cc | 4 ++-- third_party/benchmark | 2 +- third_party/googletest | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/db_bench.cc b/benchmarks/db_bench.cc index 8e3f4e7..584b253 100644 --- a/benchmarks/db_bench.cc +++ b/benchmarks/db_bench.cc @@ -65,7 +65,7 @@ static const char* FLAGS_benchmarks = "zstduncomp,"; // Number of key/values to place in database -static int FLAGS_num = 1000000; +static int FLAGS_num = 100000; // Number of read operations to do. If negative, do FLAGS_num reads. static int FLAGS_reads = -1; @@ -74,7 +74,7 @@ static int FLAGS_reads = -1; static int FLAGS_threads = 1; // Size of each value -static int FLAGS_value_size = 100; +static int FLAGS_value_size = 5000; // Arrange to generate values that shrink to this fraction of // their original size after compression diff --git a/third_party/benchmark b/third_party/benchmark index f7547e2..b2b0aab 160000 --- a/third_party/benchmark +++ b/third_party/benchmark @@ -1 +1 @@ -Subproject commit f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03 +Subproject commit b2b0aab464b1d5be3cf1728d36bb03f8b84f246f diff --git a/third_party/googletest b/third_party/googletest index 662fe38..35d0c36 160000 --- a/third_party/googletest +++ b/third_party/googletest @@ -1 +1 @@ -Subproject commit 662fe38e44900c007eccb65a5d2ea19df7bd520e +Subproject commit 35d0c365609296fa4730d62057c487e3cfa030ff