Browse Source

modify experiment config

main
ArcueidType 8 months ago
parent
commit
39187ba9d5
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      benchmarks/db_bench.cc
  2. +1
    -1
      include/leveldb/options.h

+ 1
- 1
benchmarks/db_bench.cc View File

@ -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 = 1000;
// Arrange to generate values that shrink to this fraction of
// their original size after compression

+ 1
- 1
include/leveldb/options.h View File

@ -101,7 +101,7 @@ struct LEVELDB_EXPORT Options {
size_t block_size = 4 * 1024;
// Threshold of value size that decide whether to separate the key and value
size_t kv_sep_size = 1;
size_t kv_sep_size = 100;
// Number of keys between restart points for delta encoding of keys.
// This parameter can be changed dynamically. Most clients should

Loading…
Cancel
Save