Repository navigation
Conversation
570951e to
3772502
Compare
9f794ae to
b8db1cd
Compare
3772502 to
73a0415
Compare
b8db1cd to
e7b55d9
Compare
73a0415 to
8e44660
Compare
e7b55d9 to
e6398b0
Compare
8e44660 to
39828ed
Compare
e6398b0 to
7b12001
Compare
39828ed to
b6504ce
Compare
3f4a1bf to
6b72351
Compare
b6504ce to
3c34e9e
Compare
Merging this PR will regress 4 benchmarks4 warnings, 1 note
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
3c34e9e to
85afb83
Compare
6b72351 to
31e5075
Compare
85afb83 to
c161e41
Compare
31e5075 to
1abac5d
Compare
|
@claude review |
|
Claude finished @danking's task in 1m 2s —— View job Review: Use PCO logical-page indexes for retained scalar probes
I found no correctness bugs. The refactor removes about 130 lines of duplicated page/rank/decoder code from Correctness checks that passed
Points to consider
Tests
ChecksPer the repo's |
1abac5d to
774c145
Compare
6994fd6 to
dbe67c6
Compare
774c145 to
6e3f22a
Compare
dbe67c6 to
36bf9b0
Compare
0951998 to
2957a2d
Compare
2990c3d to
535fba6
Compare
2957a2d to
f4525b9
Compare
535fba6 to
8fa10a6
Compare
1a2f36a to
c810006
Compare
8fa10a6 to
bc92e78
Compare
c810006 to
0bc85c6
Compare
0c98b6e to
28f935d
Compare
91bf937 to
30593f1
Compare
28f935d to
5fc1f0c
Compare
30593f1 to
c5c5d62
Compare
5fc1f0c to
15fdca1
Compare
c5c5d62 to
969c7c6
Compare
|
@claude review |
|
Claude finished @danking's task in 1m 10s —— View job Review: Use PCO logical-page indexes for retained scalar probes
This revision addresses the earlier review. One-off probes now call Traced and correct
Points to consider
BenchmarksCodSpeed reports ChecksFollowing the repo's |
64b3459 to
ff66413
Compare
969c7c6 to
106106b
Compare
Signed-off-by: Daniel King <dan@spiraldb.com>
106106b to
7da4edd
Compare
ff66413 to
26de111
Compare
Use an operation-owned scalar-probe cache only when the new logical-row prefix is present. Bind the primitive decoder once, resolve requested values through page-local validity, retain touched prepared/decoded pages, and return direct last-page hits. The existing missing-prefix probe body and fields are preserved, with only the optional indexed state and dispatch branch added.
Retained state can grow to the full touched decoded array; no fixed memory-budget claim is made. Fresh-state defined and missing probes on a prepared owner and retained warm probes are separate workloads. They exclude file opening, and their different states do not justify a cold/warm break-even inference.
Sixth replacement for #10771, after #10829. All semantic tests originate in #10825. All 63 PCO library tests and all-target/all-feature Clippy pass. Historical pre-simplification results are retained. Fresh current-head public file compatibility passed both directions against unchanged base33675, and all 26 matched resource oracles passed. Current GitHub CI and human review remain separate gates.
Existing CI and CodSpeed are reused; no new workflow. AI-assisted development with OpenAI Codex. Normal CI and the required human reviews remain necessary before merge; this PR remains draft.
Measured on an AMD EPYC 7B13 cloud VM: three OS-timer samples within one process per version, fixed workloads, resident buffers, no IO measurement. These are point estimates, not ABBA or confidence intervals; whole-process CPU/RSS includes fixtures and oracles. Final-stack comparisons do not isolate individual commits.
Explicit final-stack tradeoffs: nullable repeated Take rose from 52.43 to 67.71 ms (+29.1%, +15.28 ms); metadata-open/drop batches rose +33.2% dense/+31.6% nullable. These adverse results are retained for maintainer judgment, not hidden or auto-tuned away. No overall weighted speedup is claimed.
Final-stack prepared-owner fresh-defined batches (256 probes) measured 13.82→1.315 ms (10.5×), and fresh-missing batches 14.17→0.1026 ms (138×). The latter is a missing-value result, not defined-value decompression. Retained batches (1,048,576 probes) measured 47.56→46.50 ms dense and 53.38→50.68 ms nullable: near parity, with only small point-estimate differences.
CI correction: the existing compact stock-ticker expected size was updated 55,344→55,396 (+52 bytes with optional metadata), preserving its semantic roundtrip and default cases. The indexed-slice brace received pinned formatting. Fresh standard CI runs passed the source, platform, formatting and TSAN checks for these minimal corrections; no unrelated decoder fix is bundled.
Upstream CodSpeed also reports real independent-model regressions for retained probes (about 12–14%) and an existing 1,024-row scalar_access case (about 11%). That original case is not directly covered by the locked 26 cloud controls. These signals remain outstanding for maintainer review; they are not reclassified as infrastructure or equated with OS wall time. The earlier SVE toolchain-network failure was superseded by a successful fresh standard run.
Final CI audit: source/platform/formatting/TSAN checks have passed; remaining performance gates are CodSpeed and required human review. All PRs remain draft; no performance waiver or merge approval is claimed.