Repository navigation
Run the bfloat16 performance test queries on 300 million rows - #129626
Conversation
The six queries of `bfloat16.xml` scan `numbers(1000000000)` and take 1.36-1.82 s on the amd CI runner (14-day master medians), above the 0.1-1 s target of the perf test README. Mark the existing query `disabled="1"` instead of changing it, so its six expansions keep query numbers 0-5 and their text, and append the same six operations on `numbers(300000000)` as queries 6-11. `numbers()` is a single stream, so the time is linear in the row count. Related: ClickHouse#129258 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review (click to expand)Independent cold review plus Gate B (second model) on
|
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-4:20261105-205400 |
|
cc @egor-click, could you review this and add the |
|
Workflow [PR], commit [b5326d5] Summary: ✅
AI ReviewSummaryThe change disables the six original Missing context / blind spots
Final VerdictStatus: ✅ Approve |
d92dbee
Related: #129258
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
From the #129258 audit: the six queries of
bfloat16.xml(one template over=,!=,+,-,*,/onnumbers(1000000000)) have 14-day master medians of 1.36-1.82 s on the amd perf runner and 0.77-1.60 s on arm.No existing query number or text changes: 1 query (6 expansions) is disabled and 1 query (6 expansions) is appended. The old query gets
disabled="1", so queries 0-5 keep their number and text and stop running. The same six operations are appended onnumbers(300000000)as queries 6-11.numbers()is a single stream, so the time is linear in the row count.All six operations stay: each is its own loop (two comparisons into
UInt8,+/-/*intoFloat32,/intoFloat64), so none is a duplicate of another.Measured locally with
perf.py(official master release binary, 8 pinned cores,max_threads = 8, 6 old/new pass pairs) and projected onto the CI medians: queries 6-11 should take 0.41-0.54 s on amd and 0.23-0.48 s on arm (arm by the x86 ratio). Each query runs 12 times per perf job (prewarm and 5 runs on 2 servers), so that is about 73 s amd and 46 s arm less per job. Queries 0-5 did not run in any new pass (checked insystem.query_log).Queries 6-11 start a new history. The old queries' master
stat_threshold(p90) was at most 0.028, well below the 0.15 change threshold the report applies to a query without history. Both servers of a perf run use the PR's file, so this PR's own perf report shows no "faster" verdict for this test.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/129626]
Version info
26.11.1.2061-master(included in26.11and later)