Repository navigation
perf: productive OLAP analytics benchmarks + standardized LLM artifact setup (Maßnahmen #2 & #6) - #4598
Merged
Conversation
…rtifact setup Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/8f62ff42-753e-4969-9f4c-d170fd546c1d 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.
Addresses two CI-audit WARNs from
PERFORMANCE_EXPECTATIONS.md §1.4: zero productive OLAP benchmark registrations (check 2b) and missing LLM/LoRA artifact scaffolding (check 6a).Description
Maßnahme #2 —
bench_olap_analytics.cpp: disabled stub → 4 productive casesReplaces the single
BM_OLAP_Disabledno-op with four self-contained analytics benchmarks using in-memory data (consistent withbench_olap_performance.cpppatterns):BM_OLAP_GroupBy_IntGROUP BY region_id→ SUM + COUNTBM_OLAP_WindowFunctionSUM … OVER (ROWS BETWEEN 99 PRECEDING AND CURRENT ROW)BM_OLAP_MultiJoinBM_OLAP_TopN_SortedGROUP BY product_id … ORDER BY total DESC LIMIT 10(min-heap)BM_OLAP_Disabledis fully removed. CI-audit check 2b (productive_count >= 4) will now pass.Also adds
benchmarks/baselines/olap/bench_olap_analytics_targeted.jsonas the seed baseline artifact, pre-populated with per-case throughput targets.Maßnahme #6 — Standardized LLM/LoRA artifact setup
benchmarks/llm_bench_config.json— single source of truth for model paths, VRAM floors, and benchmark profiles:ci_stub: TinyLlama Q4 stub, no GPU, batch [1,4]gpu_full: Llama-3 8B Q4, ≥8 GB VRAM, batch [1,4,16,32]scripts/prepare_llm_bench_artifacts.sh— idempotent setup script:THEMIS_MODEL_DIR+THEMIS_LLM_STUB_MODELS; exits 1 if no artifact can be resolveddocs/BENCHMARK_RUNBOOK.md— new## 🤖 LLM/LoRA Model Setupsection covering env vars, CMake flagTHEMIS_LLM_STUB_MODELS, manual placement, and troubleshooting table.Linked Issues
Type of Change
Breaking Change Checklist
VERSIONandCMakeLists.txtdocs/migration/### Removed/### Changedsection updatedTesting
📚 Research & Knowledge (wenn applicable)
/docs/research/angelegt?/docs/research/implementation_influence/eingetragen?Relevante Quellen:
Checklist
[Unreleased]