Repository navigation
bench-external: showcase-1m and showcase-1h suites and the plan step - #262
Merged
Merged
Conversation
zzylol
force-pushed
the
bench-external/run-slice
branch
from
November 17, 2026 16:46
af7fa57 to
671d399
Compare
zzylol
force-pushed
the
bench-external/showcase-suite
branch
3 times, most recently
from
November 17, 2026 18:37
b5e1ebc to
493f4f9
Compare
zzylol
force-pushed
the
bench-external/run-slice
branch
from
November 17, 2026 20:13
31a0040 to
7c0d121
Compare
zzylol
force-pushed
the
bench-external/showcase-suite
branch
from
November 17, 2026 20:13
493f4f9 to
602155b
Compare
…s, windows, phases and grouping labels
…d MetricsQL as a workload language
… system-bench capabilities path Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in does q1_quantile -> quantile, q1r_quantile_rank -> quantile_rank, q2_sum_rate -> sum_rate, q3_avg_quantile -> avg_quantile, q4_count -> count, q4b_max -> max, q4c_sum_over_time -> sum_over_time, q5_joint -> joint: the names main gave the same workloads in system-bench's fixtures. Each workload's name field follows its file name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GordonYuanyc
force-pushed
the
bench-external/showcase-suite
branch
from
November 24, 2026 21:28
602155b to
4722b96
Compare
GordonYuanyc
marked this pull request as ready for review
November 24, 2026 21:49
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.
What this adds
The first comparison run needs committed public workloads, and a step that plans each one per engine variant into a bench-external run directory. This PR adds two synthetic suites and that step.
Example:
plan-suite.shcopies each<w>.workload.jsonintoworkloads/and runsasap_planner --plan-fileonce per variant:substitutions_allowedclickhouse.equivalent-onlycapabilities/clickhouse.equivalent-only.jsonclickhouse.with-substitutescapabilities/clickhouse.with-substitutes.jsonasap.defaultasap.exact{"max_error": 0.0, "failure_probability": 0.0}When the planner selects no plan, the step writes
<w>.no-plan.jsonwith the planner's error line as the reason.Suites
showcase-1mshowcase-1hsum_over_time, and all five of these together.job10 ×instance100) at 1 s samples.<w>.planner.jsondeclares the generated data's facts, includingdistinct_values_per_labeland the summedrows_per_second.Planned with ASAPPlanner (deployment exclusions plus
--plan-file), all 64 (workload, variant) pairs get a plan:showcase-1m: every variant plans query-time scans.showcase-1h: sum, count, max and rate plan as stored exact windows. The one exception is rate underclickhouse.equivalent-only, which plans at query time, because a stored rate is a substitute there.asap.defaultselects the same plans asasap.exact.QueryLanguage::MetricsQlis added, so a suite kept outside the repository can carry MetricsQL texts.Interfaces
pub enum QueryLanguage { PromQl, Sql, + MetricsQl, } +suites/<suite>/<w>.workload.json, suites/<suite>/<w>.planner.json +scripts/plan-suite.sh <suite-dir> <run-dir> (ASAP_PLANNER env)Design scope
suites/WorkloadSpec, and the planner reads its own workloadscripts/plan-suite.shrun_lanereads; the variants are a table in the scriptQueryLanguage::MetricsQlTests
aqpbm-core/tests/harness_suites.rsruns on every committed suite. For each workload it checks:q1..qN, and the texts and intervals equal the planner workload's;window_ms, and every grouping label exists in the data;rows_per_second.It also round-trips
MetricsQlthrough serde.cargo test -p aqpbm-coreand clippy are clean.Not in this PR
Hand-written ClickHouse views per shape, the VictoriaMetrics variants, and running identical plan files once.