Oof - so I hacked up debian/rules a little so that "RelWithDebInfo" is used instead of "None" for CMAKE_BUILD_TYPE. I then ^C'd the dpkg-buildpackage after it started compiling the first few source files and observed that:
* When doing make V=1 VERBOSE=1 in obj-x86_64-linux-gnu/src/rocksdb *without* any changes, the source is compiled with *neither* -g nor -O2 -DNDEBUG.
* When doing make V=1 VERBOSE=1 in obj-x86_64-linux-gnu/src/rocksdb *with* my changes, rocksdb is built with *both* -g and -O2 -DNDEBUG.
-O2 -DNDEBUG should result in significantly better performance/lower utilization for metadata operations...
Oof - so I hacked up debian/rules a little so that "RelWithDebInfo" is used instead of "None" for CMAKE_BUILD_TYPE. I then ^C'd the dpkg-buildpackage after it started compiling the first few source files and observed that:
* When doing make V=1 VERBOSE=1 in obj-x86_ 64-linux- gnu/src/ rocksdb *without* any changes, the source is compiled with *neither* -g nor -O2 -DNDEBUG.
* When doing make V=1 VERBOSE=1 in obj-x86_ 64-linux- gnu/src/ rocksdb *with* my changes, rocksdb is built with *both* -g and -O2 -DNDEBUG.
-O2 -DNDEBUG should result in significantly better performance/lower utilization for metadata operations...