VirgilZhu 8 месяцев назад
Родитель
Сommit
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," "readseq,"
"readreverse," "readreverse,"
"deleteseq," "deleteseq,"
"deleterandom,"
"fill100K,";
"deleterandom,";
// "fill100K,";
// "crc32c," // "crc32c,"
// "snappycomp," // "snappycomp,"
// "snappyuncomp," // "snappyuncomp,"
@ -71,21 +71,21 @@ static const char* FLAGS_benchmarks =
// "zstduncomp,"; // "zstduncomp,";
// Number of key/values to place in database // 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. // Number of read operations to do. If negative, do FLAGS_num reads.
static int FLAGS_reads = -1; 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. // 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. // Number of concurrent threads to run.
static int FLAGS_threads = 1; static int FLAGS_threads = 1;
// Size of each value // 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 // Arrange to generate values that shrink to this fraction of
// their original size after compression // their original size after compression

Загрузка…
Отмена
Сохранить