Repository navigation
Faster estimateCompressionRatio with the NONE codec - #111107
Conversation
|
Workflow [PR], commit [998c7cc] Summary: ✅
AI ReviewSummaryThis PR adds a Final Verdict✅ No blockers or majors. |
|
📊 Cloud Performance Report ✅ AI verdict: This PR adds a fast-path compressed-size estimate for the NONE compression codec (used only by estimateCompressionRatio('NONE')) plus its tests; it does not touch any code path a ClickBench SELECT query executes. Every flagged improvement was measured against a single baseline run (k_base=1), and Q28's baseline (6646 ms) was an outlier sitting above master's current-era band while the source median (1052 ms) sits inside it. All of these deltas are baseline/run-to-run variance rather than real PR effects, so the directional improvements are downgraded to not_sure. No cross-query pattern is present and no query plausibly regresses from this change. clickbenchFlagged queries (7 of 43)
Change = percent below ×2; the ratio of medians (×N faster/slower) beyond, where percent understates the scale. q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on. Debug info
|
|
@groeneai why is CI red? Are we out of memory? Is there a fix? |
|
Red = one shard only: Not OOM. The runner died with Fix: no code change needed, just re-run that one failed job. |
|
@groeneai why does this happen only on amd and not arm? Do we shard the same way in both cases? |
|
Same sharding on both arches: The single red (amd 1/6) is a per-host infra event: that GHA runner ran out of disk ( |
|
@groeneai merge master into this PR, failing test was fixed |
|
I don't have write access to this branch, so I can't merge for you - please click "Update branch" on the PR (or FWIW the perf shard that was red ( |
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 1/1 (100.00%) · Uncovered code |
…mation Faster `estimateCompressionRatio` with the `NONE` codec
CompressionCodecNonenow implementstryGetCompressedSize, soCompressedSizeCalculator(#109054) just gives the size of the data instead of copying it into scratch and then checking.Looks like a useless performance optimisation, but #105404 stores uncompressed block if compression results in negative compression (which does happen sometimes). In such cases, we want to know the size of uncompressed codec for free.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Faster
estimateCompressionRatiowith theNONEcodecVersion info
26.8.1.35(included in26.8and later)