feat(cpp_kernel): add comprehensive benchmarking harness with CI hardening and docs#6
Draft
cto-new[bot] wants to merge 1 commit intomainfrom
Draft
feat(cpp_kernel): add comprehensive benchmarking harness with CI hardening and docs#6cto-new[bot] wants to merge 1 commit intomainfrom
cto-new[bot] wants to merge 1 commit intomainfrom
Conversation
…ening and docs Adds a complete benchmarking harness and CI scaffolding for Betti-RDL's C++ kernel. - Benchmark harness at src/cpp_kernel/benchmarks/benchmark_harness.cpp runs The Firehose, The Deep Dive, and The Swarm with latency sampling and JSON/CSV/TXT outputs, plus memory telemetry. - Extend CMakeLists to build the harness and sanitizer demo targets (ASAN/LSAN) while preserving existing demos. - CI workflow .github/workflows/ci.yml to build, run unit tests, stress/benchmark targets, and smoke tests for Python/Node bindings on PR. - Documentation added: docs/BENCHMARK_HARNESS.md, docs/CI_CD_WORKFLOW.md; README updated with usage notes. - .gitignore extended to cover benchmark outputs and sanitizer artifacts. Impact: improves CI-driven performance checks and memory-safety validation; API remains stable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a complete benchmarking harness, sanitizer-enabled CI, and accompanying docs for Betti-RDL's C++ kernel. It enables running Firehose/Deep Dive/Swarm benchmarks with latency sampling and memory telemetry, and integrates with CI to validate performance and safety on PRs.
Details
Note on breaking changes
No API changes; build system and CI integration augmented. The sanitizer targets are optional via ENABLE_SANITIZERS.
Warning: Task VM test is not fully passing, using partial setup (2/5 steps working)