Repository navigation
feat(perf): Ziel-ID-zu-Benchmark-Mapping-Datei anlegen und als CI-Gate erzwingen (Issue #3 Maßnahme #7) - #4599
Merged
makr-code merged 2 commits intoApr 13, 2026
Conversation
…(Issue #3 Maßnahme #7) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/8f538ca2-68d5-4ff7-96b3-a88d8cf99a11 Co-authored-by: makr-code <[email protected]>
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.
No machine-checkable link existed between Ziel-IDs in
PERFORMANCE_EXPECTATIONS.md§1.2 and concrete benchmark functions, making coverage gaps invisible. This PR introduces the mapping file, a validator, and a CI gate that enforces completeness on every relevant change.Changes
benchmarks/benchmark_target_mapping.jsonPERFORMANCE_EXPECTATIONS.md§1.2{ "version", "modules": { "<module>": { "<ZIEL-ID>": { "primary_benchmark", "file", "label" } } } }tools/verify_benchmark_mapping.pyFive hard checks (exit 1 on any failure):
primary_benchmark+file.cppfiles exist underbenchmarks/primary_benchmarksymbol present in its source file (handles bothBENCHMARK(BM_Foo)and fixture-styleFixture, Methodforms)PERFORMANCE_EXPECTATIONS.mdtables is present in the mapping.github/workflows/perf-expectations-audit.ymlPERFORMANCE_EXPECTATIONS.mdchange; also runs weeklyverify_benchmark_mapping.pyand fails the build (Check 7a) on any violationLinked Issues
Closes #3
Type of Change
Breaking Change Checklist
VERSIONandCMakeLists.txtdocs/migration/### Removed/### Changedsection updatedTesting
python3 tools/verify_benchmark_mapping.pyexits 0. All 5 checks pass locally.📚 Research & Knowledge (wenn applicable)
/docs/research/angelegt?/docs/research/implementation_influence/eingetragen?Relevante Quellen:
Checklist
[Unreleased]