Skip to content

perf(olap): remove BM_OLAP_Disabled stub, activate 4 productive OLAP analytics benchmark cases - #4651

Merged
makr-code merged 3 commits into
developfrom
copilot/fix-150588092-1085539157-93a2fce5-ae7e-47b7-86e9-7d701d868762
Apr 15, 2026
Merged

makr-code merged 3 commits into
developfrom
copilot/fix-150588092-1085539157-93a2fce5-ae7e-47b7-86e9-7d701d868762

Conversation

Copilot AI commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

bench_olap_analytics.cpp contained 4 fully-implemented productive benchmark cases but still registered an undefined BM_OLAP_Disabled symbol — causing a linker error and triggering audit FAILs across all three perf audit tools.

Changes

benchmarks/bench_olap_analytics.cpp

  • Removed dangling BENCHMARK(BM_OLAP_Disabled) and its comment (referenced an undefined function; 4 productive cases were already present)
  • Registered cases: BM_OLAP_GroupBy_Int, BM_OLAP_WindowFunction, BM_OLAP_MultiJoin, BM_OLAP_TopN_Sorted

PERFORMANCE_EXPECTATIONS.md

tools/perf_expectations_rootcause_audit.py

  • Fixed META_CAUSE_2 logic: elif has_real_cases unconditionally FAILed even after stub removal. Split into two explicit branches:
    • has_disabled_stub AND has_real_cases → FAIL (olap_disabled_stub_stale)
    • NOT has_disabled_stub AND has_real_cases → OK (olap_stub_removed_real_cases_present)

Audit results after change

Tool Check Result
perf_expectations_audit.py Measure #2 ✅ PASS
perf_coverage_top10_audit.py M02 ✅ OK (4 real cases)
perf_expectations_rootcause_audit.py META_CAUSE_2 ✅ OK

Type of Change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Refactoring (non-breaking)
  • Documentation
  • Breaking change (requires MAJOR version bump — see VERSIONING.md)
  • Security fix
  • Other: Benchmark activation + audit tool fix + doc update

Breaking Change Checklist

  • MAJOR version bump planned in VERSION and CMakeLists.txt
  • Migration guide added in docs/migration/
  • Announcement prepared for GitHub Discussions (≥ 2 weeks before release)
  • CHANGELOG ### Removed / ### Changed section updated

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • Benchmarks run (if performance-sensitive change)

📚 Research & Knowledge (wenn applicable)

  • Diese PR basiert auf wissenschaftlichen Paper(s) oder Best Practices?
    • Falls JA: Research-Dateien in /docs/research/ angelegt?
    • Falls JA: Im Modul-README unter "Wissenschaftliche Grundlagen" verlinkt?
    • Falls JA: In /docs/research/implementation_influence/ eingetragen?

Relevante Quellen:

  • Paper:
  • Best Practice:
  • Architecture Decision:

Checklist

  • Code follows project style guidelines (clang-format / clang-tidy)
  • Self-review completed
  • Documentation updated (if needed)
  • CHANGELOG.md updated under [Unreleased]
  • No new warnings introduced
  • Security-sensitive paths reviewed by security maintainer (if applicable)

…ics cases

- Remove BENCHMARK(BM_OLAP_Disabled) from bench_olap_analytics.cpp
  (function was undefined; 4 productive cases already present)
- Update PERFORMANCE_EXPECTATIONS.md:
  - Mark Maßnahme #2 as ERLEDIGT in §1.4 table
  - Add AN-GB/AN-WIN/AN-JOIN/AN-TOPN to §6.1 AN-mapping table
  - Add 4 new proxy benchmark entries to §6.1.1
  - Update §1.3 Analytics row to reflect stub removal
- Fix logic bug in perf_expectations_rootcause_audit.py:
  META_CAUSE_2 now correctly reports OK when real cases exist and
  disabled stub was removed (previously always FAIL when real cases found)

Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/013de0bd-e297-4322-b6b5-47a881db022a

Co-authored-by: makr-code <[email protected]>
Copilot AI changed the title [WIP] Copilot Request perf(olap): remove BM_OLAP_Disabled stub, activate 4 productive OLAP analytics benchmark cases Apr 15, 2026
Copilot AI requested a review from makr-code April 15, 2026 04:17
@makr-code
makr-code marked this pull request as ready for review April 15, 2026 04:18
@makr-code
makr-code merged commit 6262db4 into develop Apr 15, 2026
15 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Agentic AI][Benchmarks] OLAP-Analytics aus Disabled-Stub auf produktive Cases umstellen

2 participants