/third_party/iowow/src/kv/benchmark/ |
D | bmbase.c | 12 typedef struct _BMCTX BMCTX; typedef 14 typedef bool (bench_method(BMCTX *bmctx)); 32 void *(*db_open)(BMCTX *ctx); 33 bool (*db_close)(BMCTX *ctx); 34 bool (*db_put)(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync); 35 bool (*db_get)(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found); 36 bool (*db_cursor_to_key)(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found); 37 bool (*db_del)(BMCTX *ctx, const IWKV_val *key, bool sync); 38 bool (*db_read_seq)(BMCTX *ctx, bool reverse); 39 uint64_t (*db_size_bytes)(BMCTX *ctx); [all …]
|
D | tc_benchmark.c | 15 uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 26 static void *db_open(BMCTX *ctx) { in db_open() 49 static bool db_close(BMCTX *ctx) { in db_close() 60 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 72 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 82 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 94 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 116 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|
D | iwkv_benchmark.c | 20 static uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 31 static void *db_open(BMCTX *ctx) { in db_open() 70 static bool db_close(BMCTX *ctx) { in db_close() 84 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 94 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 109 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 122 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 146 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|
D | kyc_benchmark.c | 14 uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 25 static void *db_open(BMCTX *ctx) { in db_open() 53 static bool db_close(BMCTX *ctx) { in db_close() 68 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 85 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 95 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 108 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 145 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|
D | leveldb_benchmark.c | 16 uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 41 static void *db_open(BMCTX *ctx) { in db_open() 69 static bool db_close(BMCTX *ctx) { in db_close() 80 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 98 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 119 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 137 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 162 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|
D | wiredtiger_benchmark.c | 15 static bool db_close(BMCTX *ctx); 21 uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 46 static void *db_open(BMCTX *ctx) { in db_open() 95 static bool db_close(BMCTX *ctx) { in db_close() 128 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 150 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 170 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 191 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 217 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|
D | bdb_benchmark.c | 15 static uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 30 static void *db_open(BMCTX *ctx) { in db_open() 55 static bool db_close(BMCTX *ctx) { in db_close() 69 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 88 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 108 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 128 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 163 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|
D | lmdb_benchmark.c | 29 uint64_t db_size_bytes(BMCTX *ctx) { in db_size_bytes() 40 static void *db_open(BMCTX *ctx) { in db_open() 64 static bool db_close(BMCTX *ctx) { in db_close() 77 static bool db_put(BMCTX *ctx, const IWKV_val *key, const IWKV_val *val, bool sync) { in db_put() 95 static bool db_get(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_get() 118 static bool db_del(BMCTX *ctx, const IWKV_val *key, bool sync) { in db_del() 137 static bool db_read_seq(BMCTX *ctx, bool reverse) { in db_read_seq() 158 static bool db_cursor_to_key(BMCTX *ctx, const IWKV_val *key, IWKV_val *val, bool *found) { in db_cursor_to_key()
|