Repository navigation
Make promql_duplicate_series_if perf queries long enough to be stable - #122061
Merged
alexey-milovidov merged 1 commit intoSep 24, 2026
Merged
Conversation
The queries ran in 3-17 ms, far below the 0.1 s minimum from `tests/performance/scripts/README.md`, so fixed per-query overhead dominated and the test produced spurious regressions and instability in unrelated PRs, e.g. `promql_duplicate_series_if #0` +15.6% in https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=120907&sha=4772aa1520e801ada8bde3d7fe7f922dbd4d603e&name_0=PR&name_1=Performance%20Comparison%20%28amd_release%2C%20master_head%2C%204%2F6%29 (#120907). Drop the 1M-row query, which duplicated the 10M-row one and only measured overhead, and scale the remaining two to about 0.2 s each. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Contributor
|
Workflow [PR], commit [8a517c8] Summary: ✅
AI ReviewSummaryThis PR recalibrates Missing context / blind spots
Final Verdict✅ No review findings. |
alexey-milovidov
deleted the
fix-promql-duplicate-series-perf-test-too-short
branch
September 24, 2026 22:22
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.
The queries of the
promql_duplicate_series_ifperformance test ran in 3-17 ms (CIclient_time: 3.2 ms, 7.4 ms, 17.2 ms), far below the 0.1 s minimum fromtests/performance/scripts/README.md. Fixed per-query overhead dominated, so the test produced spurious "confirmed regressions" and instability in unrelated PRs, e.g.promql_duplicate_series_if #0+15.6% in a Parquet-only PR:https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=120907&sha=4772aa1520e801ada8bde3d7fe7f922dbd4d603e&name_0=PR&name_1=Performance%20Comparison%20%28amd_release%2C%20master_head%2C%204%2F6%29
It was also reported unstable in #121816 (
#0) and #115053 (#2).The 1M-row query duplicated the 10M-row one and measured only overhead, so it is dropped. The two remaining queries are scaled to 500M and 200M rows, about 0.2 s each locally.
Related: #120907
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/122061]
Version info
26.10.1.639-master(included in26.10and later)