Add benchmark. Looks slow :/

This commit is contained in:
2024-05-22 13:14:25 -07:00
parent 49a1ec0ab7
commit 3e1bd9c7b8
2 changed files with 31 additions and 0 deletions

View File

@@ -189,6 +189,10 @@ if(BUILD_TESTING)
add_test(NAME versioned_map_blackbox_${hash} COMMAND driver ${TEST})
endforeach()
add_executable(bench Bench.cpp)
target_compile_options(bench PRIVATE ${TEST_FLAGS})
target_link_libraries(bench PRIVATE ${PROJECT_NAME} nanobench)
# symbol visibility tests
if(NOT CMAKE_BUILD_TYPE STREQUAL Debug)
if(APPLE)