Run benchmark with no debug

Summary: assert(Overlap) significantly slows down the benchmark. Ignore assertions when executing blob_store_bench.

Test Plan: Ran the benchmark

Reviewers: dhruba, haobo, kailiu

Reviewed By: kailiu

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13737
main
Igor Canadi 11 years ago
parent 17991cd5a0
commit 8ace6b0f91
  1. 4
      tools/blob_store_bench.cc

@ -8,6 +8,10 @@
#define KB 1024LL
#define MB 1024*1024LL
// BlobStore does costly asserts to make sure it's running correctly, which
// significantly impacts benchmark runtime.
// NDEBUG will compile out those asserts.
#define NDEBUG
using namespace rocksdb;
using namespace std;

Loading…
Cancel
Save