bench: add reproducible foundation benchmark harness and record P0 baseline (X-BASE-05)

This commit is contained in:
faumaray committed 2026-11-24 02:35:43 +03:00
1 parent c64fa93373
commit 196ed251f9
7 files changed
+571 -30

No files matched your search

+4
View File
@@ -8,6 +8,7 @@ elseif(NOT DEFINED BUILD_SHARED_LIBS)
set(BUILD_SHARED_LIBS ON)
endif()
option(VOID_ENABLE_TESTING "Build the test suite" ON)
option(VOID_ENABLE_BENCHMARKS "Build reproducible benchmark baselines" OFF)
option(VOID_WARNINGS_AS_ERRORS "Treat compiler warnings as errors" OFF)
option(VOID_ENABLE_ASAN "Enable AddressSanitizer (Clang/GCC)" OFF)
option(VOID_ENABLE_UBSAN "Enable UndefinedBehaviorSanitizer (Clang/GCC)" OFF)
@@ -90,6 +91,9 @@ if(VOID_ENABLE_TESTING)
add_subdirectory(tests)
endif()
if(VOID_ENABLE_BENCHMARKS)
add_subdirectory(benchmarks)
endif()
get_property(ALL_DISCOVERED_MODULES GLOBAL PROPERTY VOID_MODULES)
get_property(ALL_MODULE_DEPENDENCY_RECORDS GLOBAL PROPERTY
VOID_MODULE_DEPENDENCY_RECORDS)