|
|
@ -65,7 +65,7 @@ static const char* FLAGS_benchmarks = |
|
|
|
"zstduncomp,"; |
|
|
|
|
|
|
|
// Number of key/values to place in database
|
|
|
|
static int FLAGS_num = 100000; |
|
|
|
static int FLAGS_num = 1000000; |
|
|
|
|
|
|
|
// Number of read operations to do. If negative, do FLAGS_num reads.
|
|
|
|
static int FLAGS_reads = -1; |
|
|
@ -1127,8 +1127,8 @@ int main(int argc, char** argv) { |
|
|
|
|
|
|
|
// Choose a location for the test database if none given with --db=<path>
|
|
|
|
if (FLAGS_db == nullptr) { |
|
|
|
leveldb::g_env->GetTestDirectory(&default_db_path); |
|
|
|
default_db_path += "/dbbench"; |
|
|
|
//leveldb::g_env->GetTestDirectory(&default_db_path);
|
|
|
|
default_db_path = "dbbench"; |
|
|
|
FLAGS_db = default_db_path.c_str(); |
|
|
|
} |
|
|
|
|
|
|
|