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