Details
Description
Implement a global memory pool for use by hbtrie operations to avoid allocating memory on heap or stack for every iteration/operation.
This should speed things up and also avoid any stack overflow issues or performance degradation due to repeated malloc/free.
Attachments
Issue Links
- relates to
-
MB-20219 60% slowdown of CBL benchmark on iOS, due to ForestDB malloc/free calls
- Closed
For Gerrit Dashboard: MB-20231 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
66161,6 | MB-20231: Global memory pool for HBTrie operations | master | forestdb | Status: MERGED | +2 | +1 |
66323,8 | MB-20231: Add unit test for mempool perf measurement | master | forestdb | Status: MERGED | +2 | +1 |
66346,3 | MB-20231: Replacing mutex with spin-lock for queue ops | master | forestdb | Status: MERGED | +2 | +1 |
66555,2 | MB-20231: Adding histograms to mempool_test | master | forestdb | Status: MERGED | +2 | +1 |