浏览代码

change benchmark apras

main
VirgilZhu 8 个月前
父节点
当前提交
b0cb3cddc2
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. +6
    -6
      benchmarks/db_bench.cc

+ 6
- 6
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

正在加载...
取消
保存