Skip to content

Commit 5240e8d

Browse files
committed
bench: retain staged row-index evidence
1 parent d5fc2ce commit 5240e8d

14 files changed

Lines changed: 105421 additions & 56 deletions

‎docs/OCTANE_M4_PREMERGE_DIAGNOSTIC.md‎

Lines changed: 79 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ geometric mean; startup gives equal weight to FCP@0/1k/10k. These are medians
4040
from one ordered diagnostic window, so no strict-win or non-inferiority
4141
decision is made.
4242

43-
| Comparator | interaction | startup FCP | point-risk core cells above 1.05 |
44-
| --- | ---: | ---: | --- |
45-
| latest upstream | 0.716 | 0.749 | FCP@0 1.094 |
46-
| ReactLynx default | 0.840 | 1.105 | replace 1.217; append1k 1.194; FCP@0 1.462 |
47-
| Vue VDOM default | 0.834 | 0.715 | replace 1.239; remove 1.197 |
48-
| Vue VDOM +IFR +ET | 0.837 | 0.810 | replace 1.213; remove 1.196; FCP@0 1.080 |
49-
| Vue Vapor default | 0.848 | 0.684 | replace 1.132; update10th 1.109; remove 1.057; clear 1.082 |
50-
| Vue Vapor +IFR | 0.806 | 0.719 | replace 1.086; clear 1.085 |
43+
| Comparator | interaction | startup FCP | point-risk core cells above 1.05 |
44+
| ----------------- | ----------: | ----------: | ---------------------------------------------------------- |
45+
| latest upstream | 0.716 | 0.749 | FCP@0 1.094 |
46+
| ReactLynx default | 0.840 | 1.105 | replace 1.217; append1k 1.194; FCP@0 1.462 |
47+
| Vue VDOM default | 0.834 | 0.715 | replace 1.239; remove 1.197 |
48+
| Vue VDOM +IFR +ET | 0.837 | 0.810 | replace 1.213; remove 1.196; FCP@0 1.080 |
49+
| Vue Vapor default | 0.848 | 0.684 | replace 1.132; update10th 1.109; remove 1.057; clear 1.082 |
50+
| Vue Vapor +IFR | 0.806 | 0.719 | replace 1.086; clear 1.085 |
5151

5252
The run identifies three concrete owners for the next measurement/engineering
5353
loop:
@@ -92,13 +92,13 @@ removed that cross-suite workload without changing the production bundles or
9292
FCP endpoint. Combined with the original interaction window, the frozen 10,000
9393
resample qualification result is:
9494

95-
| suite/cell | point ratio | 95% CI | gate |
96-
| --- | ---: | ---: | --- |
97-
| interaction aggregate | 0.78979 | [0.77979, 0.79975] | pass |
98-
| startup aggregate | 0.90815 | [0.89481, 0.92092] | pass |
99-
| FCP@0 | 1.01309 | [0.97181, 1.05098] | **fail** |
100-
| FCP@1k | 0.88640 | [0.87313, 0.89982] | pass |
101-
| FCP@10k | 0.83405 | [0.82735, 0.84092] | pass |
95+
| suite/cell | point ratio | 95% CI | gate |
96+
| --------------------- | ----------: | -----------------: | -------- |
97+
| interaction aggregate | 0.78979 | [0.77979, 0.79975] | pass |
98+
| startup aggregate | 0.90815 | [0.89481, 0.92092] | pass |
99+
| FCP@0 | 1.01309 | [0.97181, 1.05098] | **fail** |
100+
| FCP@1k | 0.88640 | [0.87313, 0.89982] | pass |
101+
| FCP@10k | 0.83405 | [0.82735, 0.84092] | pass |
102102

103103
The exact machine-readable verdict, suite-specific cohort IDs, session IDs,
104104
and all 40 raw-run SHA-256 hashes are in
@@ -127,16 +127,16 @@ The same compact candidate was next measured against Vue VDOM default at
127127
startup-only sessions (five AB and five BA in each independent window) produced
128128
3,100 records with zero DNF. The frozen 10,000-resample result is:
129129

130-
| suite/cell | point ratio | 95% CI | gate |
131-
| --- | ---: | ---: | --- |
132-
| interaction aggregate | 0.78333 | [0.76956, 0.79916] | aggregate passes |
133-
| select@1k | 1.18185 | [1.07808, 1.29643] | **fail** |
134-
| remove@1k | 1.00618 | [0.95678, 1.05588] | **fail** |
135-
| clear@1k | 1.00847 | [0.96162, 1.05529] | **fail** |
136-
| startup aggregate | 0.55290 | [0.53922, 0.56462] | pass |
137-
| FCP@0 | 0.48926 | [0.46241, 0.51599] | pass |
138-
| FCP@1k | 0.59326 | [0.57806, 0.60850] | pass |
139-
| FCP@10k | 0.58232 | [0.57258, 0.59206] | pass |
130+
| suite/cell | point ratio | 95% CI | gate |
131+
| --------------------- | ----------: | -----------------: | ---------------- |
132+
| interaction aggregate | 0.78333 | [0.76956, 0.79916] | aggregate passes |
133+
| select@1k | 1.18185 | [1.07808, 1.29643] | **fail** |
134+
| remove@1k | 1.00618 | [0.95678, 1.05588] | **fail** |
135+
| clear@1k | 1.00847 | [0.96162, 1.05529] | **fail** |
136+
| startup aggregate | 0.55290 | [0.53922, 0.56462] | pass |
137+
| FCP@0 | 0.48926 | [0.46241, 0.51599] | pass |
138+
| FCP@1k | 0.59326 | [0.57806, 0.60850] | pass |
139+
| FCP@10k | 0.58232 | [0.57258, 0.59206] | pass |
140140

141141
Every other interaction cell passes its 1.05 upper-bound gate, but the three
142142
listed cells make the complete scorecard a failure. The exact verdict and all
@@ -174,17 +174,17 @@ startup-only windows each contain ten sessions with five AB and five BA orders.
174174
All 3,100 observations completed with zero DNF. The frozen 10,000-resample
175175
scorecard is:
176176

177-
| suite/cell | point ratio | 95% CI | gate |
178-
| --- | ---: | ---: | --- |
179-
| interaction aggregate | 0.79894 | [0.78324, 0.81584] | aggregate passes |
180-
| select@1k | 1.06089 | [0.94695, 1.17013] | **fail** |
181-
| swap@1k | 0.90884 | [0.76131, 1.08816] | **fail** |
182-
| remove@1k | 1.05247 | [1.02286, 1.08249] | **fail** |
183-
| clear@1k | 1.10437 | [1.05288, 1.15759] | **fail** |
184-
| startup aggregate | 0.60470 | [0.59083, 0.61829] | pass |
185-
| FCP@0 | 0.61883 | [0.58595, 0.65103] | pass |
186-
| FCP@1k | 0.70106 | [0.68886, 0.71406] | pass |
187-
| FCP@10k | 0.50968 | [0.49947, 0.51862] | pass |
177+
| suite/cell | point ratio | 95% CI | gate |
178+
| --------------------- | ----------: | -----------------: | ---------------- |
179+
| interaction aggregate | 0.79894 | [0.78324, 0.81584] | aggregate passes |
180+
| select@1k | 1.06089 | [0.94695, 1.17013] | **fail** |
181+
| swap@1k | 0.90884 | [0.76131, 1.08816] | **fail** |
182+
| remove@1k | 1.05247 | [1.02286, 1.08249] | **fail** |
183+
| clear@1k | 1.10437 | [1.05288, 1.15759] | **fail** |
184+
| startup aggregate | 0.60470 | [0.59083, 0.61829] | pass |
185+
| FCP@0 | 0.61883 | [0.58595, 0.65103] | pass |
186+
| FCP@1k | 0.70106 | [0.68886, 0.71406] | pass |
187+
| FCP@10k | 0.50968 | [0.49947, 0.51862] | pass |
188188

189189
Every other interaction cell passes. The formal verdict, exact commands, and
190190
all 20 source-run hashes are retained in
@@ -218,15 +218,15 @@ Vue Vapor default was measured next at the same comparator commit. Ten
218218
table-only and ten startup-only sessions, independently balanced five AB and
219219
five BA, again produced 3,100 observations with zero DNF:
220220

221-
| suite/cell | point ratio | 95% CI | gate |
222-
| --- | ---: | ---: | --- |
223-
| interaction aggregate | 0.76096 | [0.74755, 0.77430] | aggregate passes |
224-
| swap@1k | 0.99710 | [0.87454, 1.13028] | **fail** |
225-
| remove@1k | 1.08669 | [1.02482, 1.16219] | **fail** |
226-
| startup aggregate | 0.53104 | [0.52319, 0.53890] | pass |
227-
| FCP@0 | 0.47132 | [0.45737, 0.48449] | pass |
228-
| FCP@1k | 0.55680 | [0.54363, 0.57239] | pass |
229-
| FCP@10k | 0.57064 | [0.56124, 0.58102] | pass |
221+
| suite/cell | point ratio | 95% CI | gate |
222+
| --------------------- | ----------: | -----------------: | ---------------- |
223+
| interaction aggregate | 0.76096 | [0.74755, 0.77430] | aggregate passes |
224+
| swap@1k | 0.99710 | [0.87454, 1.13028] | **fail** |
225+
| remove@1k | 1.08669 | [1.02482, 1.16219] | **fail** |
226+
| startup aggregate | 0.53104 | [0.52319, 0.53890] | pass |
227+
| FCP@0 | 0.47132 | [0.45737, 0.48449] | pass |
228+
| FCP@1k | 0.55680 | [0.54363, 0.57239] | pass |
229+
| FCP@10k | 0.57064 | [0.56124, 0.58102] | pass |
230230

231231
Every other frozen interaction cell passes. The formal scorecard and all raw
232232
hashes are in
@@ -255,17 +255,17 @@ The optimized Vue Vapor configuration with `enableFiber` and
255255
table-only and ten startup-only sessions, each balanced five AB and five BA,
256256
produced 3,100 observations with zero DNF:
257257

258-
| suite/cell | point ratio | 95% CI | gate |
259-
| --- | ---: | ---: | --- |
260-
| interaction aggregate | 0.76439 | [0.75071, 0.77988] | aggregate passes |
261-
| update10th@1k | 0.97209 | [0.87358, 1.08885] | **fail** |
262-
| select@1k | 1.08905 | [0.95526, 1.25887] | **fail** |
263-
| swap@1k | 1.04731 | [0.89654, 1.19179] | **fail** |
264-
| remove@1k | 1.04271 | [0.96731, 1.11952] | **fail** |
265-
| startup aggregate | 0.55036 | [0.54040, 0.56091] | pass |
266-
| FCP@0 | 0.58350 | [0.56313, 0.60580] | pass |
267-
| FCP@1k | 0.62948 | [0.61534, 0.64300] | pass |
268-
| FCP@10k | 0.45384 | [0.44603, 0.46143] | pass |
258+
| suite/cell | point ratio | 95% CI | gate |
259+
| --------------------- | ----------: | -----------------: | ---------------- |
260+
| interaction aggregate | 0.76439 | [0.75071, 0.77988] | aggregate passes |
261+
| update10th@1k | 0.97209 | [0.87358, 1.08885] | **fail** |
262+
| select@1k | 1.08905 | [0.95526, 1.25887] | **fail** |
263+
| swap@1k | 1.04731 | [0.89654, 1.19179] | **fail** |
264+
| remove@1k | 1.04271 | [0.96731, 1.11952] | **fail** |
265+
| startup aggregate | 0.55036 | [0.54040, 0.56091] | pass |
266+
| FCP@0 | 0.58350 | [0.56313, 0.60580] | pass |
267+
| FCP@1k | 0.62948 | [0.61534, 0.64300] | pass |
268+
| FCP@10k | 0.45384 | [0.44603, 0.46143] | pass |
269269

270270
Every other frozen interaction cell passes. The formal scorecard and all raw
271271
hashes are in
@@ -300,6 +300,29 @@ comparator matrix must be rerun rather than inferred. The complete receipt is
300300
`results/audits/2026-09-12-m4-keyed-row-retention-web-jit-focused.json`
301301
(SHA-256 `784f9216b5150529fec691f98aac7092785f29489e242d5d53a6ea1373fa1ac9`).
302302

303+
### Retained owner cut: publish shifted row indices after commit
304+
305+
A remove profile then separated the remaining background owner. Across ten
306+
balanced raw profiler runs per arm, the retained-row candidate used 7.51 ms
307+
mean BTS sampled CPU for remove while `reconcileForSlot` accounted for about
308+
0.94 ms per run. Object-spread helpers used to copy the retained record for
309+
every shifted survivor were a larger owner. The follow-up stages the new order
310+
in the completed range render and publishes it in Map insertion order only
311+
after the frame commits. A rejected frame therefore cannot change the indices
312+
used by a later sparse selection.
313+
314+
Ten independent focused sessions, five AB and five BA with 20 repetitions per
315+
arm, gave remove latency 0.95316, 95% CI [0.92134, 0.98813], and BTS CPU
316+
0.64576 [0.63194, 0.66102]. MTS CPU was non-inferior at 0.99923
317+
[0.96494, 1.03996]; BTS→MTS bytes were identical. All four 10k GC snapshot
318+
ratios had upper bounds below 1.003, and the Web and Native rows-zero bundles
319+
each grew by 13 bytes. The patch is retained as a measured owner cut, not a
320+
final scorecard claim. Its complete focused receipt is
321+
`results/audits/2026-09-12-m4-stage-row-indices-web-jit-focused.json` (SHA-256
322+
`93202fae7aec526584c5da753e209ed17b3a7d06fd63027d999848f694bcdab9`); the raw profile is
323+
`results/audits/2026-09-12-m4-stage-row-indices-remove-profile.json` (SHA-256
324+
`b8d45348763db5cb47d1ff6c30c87e215f0b16651f6551ce9326b9575f6a6061`).
325+
303326
## Memory snapshot is not the memory gate
304327

305328
The existing runner captured one GC-forced 10k snapshot and one after-clear

0 commit comments

Comments
 (0)