7b76689ea1
v11.1 — Test Infrastructure (14 files): - .github/workflows/ci.yml: Ubuntu 22.04 + GCC 11, auto ctest on push - tests/regression/: degenerate geometry, extreme coords, thin wall, large models - tests/fuzz/: SDF random CSG, random booleans, format round-trip, continuous mode - tests/benchmark/: boolean perf, MC perf, IO perf benchmarks - docs/benchmark-report.md: benchmark template v11.2 — Code Quality + Docs: - .clang-tidy: 15 check categories, 22 exclusions - .github/workflows/static-analysis.yml: clang-tidy CI scan - CODEOWNERS, SECURITY.md - docs: API overview, testing guide, contributing guide - README: module capability overview table Pending: binary formats + curve projection (retrying)
14 lines
437 B
CMake
14 lines
437 B
CMake
# ── Google Test benchmark integration ──
|
|
# 使用 GTest 的定时器宏实现性能基准,无需依赖 Google Benchmark 库
|
|
# 结果写入 docs/benchmark-report.md
|
|
|
|
add_vde_test(bench_boolean_perf)
|
|
add_vde_test(bench_mc_perf)
|
|
add_vde_test(bench_io_perf)
|
|
|
|
# Benchmark custom target
|
|
add_custom_target(vde_benchmarks_test
|
|
COMMAND ${CMAKE_CTEST_COMMAND} --tests-regex "Benchmark.*"
|
|
COMMENT "Running all benchmark tests"
|
|
)
|