Skip to content

feat(benchmarks): add CMake target for bench_olap_analytics – 4 real OLAP cases now buildable - #4658

Merged
makr-code merged 2 commits into
developfrom
copilot/fix-150588092-1085539157-0e08e1fe-61bf-46d6-a790-0ec79f0279f4
Apr 15, 2026
Merged

makr-code merged 2 commits into
developfrom
copilot/fix-150588092-1085539157-0e08e1fe-61bf-46d6-a790-0ec79f0279f4

Conversation

Copilot AI commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

bench_olap_analytics.cpp already contained 4 productive OLAP benchmark cases but had no CMake target, making it an orphaned source that could never be built or appear in --benchmark_list_tests output.

Changes

benchmarks/CMakeLists.txt

  • Added add_executable(bench_olap_analytics) block after bench_olap_performance, linking ${BENCHMARK_LIBS} + Threads::Threads (no ThemisDB headers needed — pure stdlib + Google Benchmark)

Benchmark cases now exposed

Benchmark AN Goal Performance target
BM_OLAP_GroupBy_Int AN-GB ≥500 K rows/s @ 1 M rows
BM_OLAP_WindowFunction AN-WIN ≥200 K rows/s @ 1 M rows
BM_OLAP_MultiJoin AN-JOIN ≥100 K rows/s @ 100 K orders
BM_OLAP_TopN_Sorted AN-TOPN ≥300 K rows/s @ 1 M rows

AN goals mapping was already present in PERFORMANCE_EXPECTATIONS.md §6.1 (rows AN-GB/WIN/JOIN/TOPN). Audit scripts perf_expectations_audit.py (check #2), perf_coverage_top10_audit.py (M02), and perf_expectations_rootcause_audit.py (META_CAUSE_2) all confirm ✅ PASS.

Linked Issues

Closes #4536

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:

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)

Copilot AI changed the title [WIP] Copilot Request feat(benchmarks): add CMake target for bench_olap_analytics – 4 real OLAP cases now buildable Apr 15, 2026
Copilot AI requested a review from makr-code April 15, 2026 05:04
@makr-code
makr-code marked this pull request as ready for review April 15, 2026 05:15
@makr-code
makr-code merged commit 6798385 into develop Apr 15, 2026
11 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] Replace disabled OLAP analytics stub with real cases

2 participants