提交 8ace6b0f 编写于 作者: I Igor Canadi

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
上级 17991cd5
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
#define KB 1024LL #define KB 1024LL
#define MB 1024*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 rocksdb;
using namespace std; using namespace std;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册