Browse Source

update benchmark

version_1
小人鱼 9 months ago
parent
commit
578aa6bbc5
3 changed files with 4 additions and 4 deletions
  1. +2
    -2
      benchmarks/db_bench.cc
  2. +1
    -1
      third_party/benchmark
  3. +1
    -1
      third_party/googletest

+ 2
- 2
benchmarks/db_bench.cc View File

@ -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

+ 1
- 1
third_party/benchmark

@ -1 +1 @@
Subproject commit f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03
Subproject commit b2b0aab464b1d5be3cf1728d36bb03f8b84f246f

+ 1
- 1
third_party/googletest

@ -1 +1 @@
Subproject commit 662fe38e44900c007eccb65a5d2ea19df7bd520e
Subproject commit 35d0c365609296fa4730d62057c487e3cfa030ff

Loading…
Cancel
Save