Add arena debug visualization tool

This commit is contained in:
2025-08-15 11:25:10 -04:00
parent 28fa96011f
commit f1794bcb3e
6 changed files with 576 additions and 24 deletions

View File

@@ -242,7 +242,7 @@ int main() {
.minEpochIterations(200);
memory_bench.run("WeaselDB Parser (arena allocation)", [&] {
CommitRequest request(4096); // 4KB arena
CommitRequest request;
std::string mutable_json = COMPLEX_JSON;
bool result = request.parse_json(mutable_json.data(), mutable_json.size());
ankerl::nanobench::doNotOptimizeAway(result);