perf: Add benchmark for Logger (#2407)

This commit is contained in:
Ayaz Salikhov
2025-08-07 19:46:12 +01:00
committed by GitHub
parent 87565b685a
commit 4aa2ca94de
6 changed files with 164 additions and 13 deletions

View File

@@ -7,10 +7,12 @@ target_sources(
Playground.cpp
# ExecutionContext
util/async/ExecutionContextBenchmarks.cpp
# Logger
util/log/LoggerBenchmark.cpp
)
include(deps/gbench)
target_include_directories(clio_benchmark PRIVATE .)
target_link_libraries(clio_benchmark PUBLIC clio_etl benchmark::benchmark_main)
target_link_libraries(clio_benchmark PUBLIC clio_util benchmark::benchmark_main)
set_target_properties(clio_benchmark PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})