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

@@ -82,6 +82,14 @@ target_link_libraries(bench_parser_comparison nanobench weaseljson test_data
nlohmann_json::nlohmann_json)
target_include_directories(bench_parser_comparison PRIVATE src)
# Debug tools
add_executable(debug_arena tools/debug_arena.cpp src/commit_request.cpp)
target_link_libraries(debug_arena weaseljson)
target_include_directories(debug_arena PRIVATE src)
add_executable(test_multi_block test_multi_block.cpp)
target_include_directories(test_multi_block PRIVATE src)
add_test(NAME arena_allocator_tests COMMAND test_arena_allocator)
add_test(NAME commit_request_tests COMMAND test_commit_request)
add_test(NAME arena_allocator_benchmarks COMMAND bench_arena_allocator)