@zakkster/lite-signal 1.6.0-alpha.2 → 1.6.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/CHANGELOG.md +71 -23
  2. package/README.md +44 -38
  3. package/llms.txt +72 -58
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -261,29 +261,77 @@ comparable, and engine-version-aware.
261
261
  6/7 fire only while a mutation-hook listener is attached; with none, the two hook
262
262
  fire sites are pure `null`-check branches (branch-predicted-free after warmup).
263
263
 
264
- ### Verified -- fresh 1.6.0-alpha bench sweep
265
-
266
- Both benches re-run on the 1.6.0-alpha engine and committed to
267
- `bench/results.txt` (isolated propagation, 9 scenarios) and
268
- `bench/resultsReactive.txt` (cross-framework reactivity, median-of-10, 34
269
- tests). The 10 raw reactive-suite runs sit under `bench/bench-runs-reactive/
270
- run_1.txt` ... `run_10.txt` so anyone can re-median independently.
271
-
272
- - **Propagation bench (results.txt):** lite +49% / +43% / +35% / +29% on the four
273
- allocation-heavy scenarios (SELECTIVE DAG / DYNAMIC DAG / MUX / SMALL
274
- SELECTIVE) -- unchanged in character from the 1.5.0-beta sweep, the gate is
275
- round-off on allocation-dominated shapes. Parity on LARGE WEB APP (-3%) and
276
- WIDE DENSE (-6%), inside host noise. **Alien-signals ahead on BROADCAST
277
- (-10%), KAIROS (-12%, was -7% on 1.5.0-beta), and DEEP CHAIN (-21%, was -14%
278
- on 1.5.0-beta)** -- the KAIROS and DEEP CHAIN widening is the observable
279
- gate cost on shapes where every branch matters. Speed wins vs alien: **4/9**
280
- (was 5/9); heap wins: **8/9** (unchanged).
281
- - **Reactive suite (resultsReactive.txt):** fastest of five frameworks on all
282
- five `dyn` rows (simple +19%, dynamic +13%, large web app +11%, wide dense
283
- +4%, deep +16%). On the `S: updateComputations` micro-rows lite trades the
284
- lead with alien: **4/7 wins this sweep** (was 7/7 on 1.5.0-beta), consistent
285
- with the gate cost on 50-70ms rows that iterate many thousands of times per
286
- measurement.
264
+ ### Verified -- fresh 1.6.0-alpha bench sweep (dual-host: Apple M4 Pro + 2016 Intel MacBook)
265
+
266
+ Both v3 instruments were re-run in full on the 1.6.0-alpha engine on **two hosts**:
267
+ the current authoritative machine **Apple M4 Pro darwin/arm64, Node 26.3.1** (with
268
+ `#STAMP`-verified outputs committed to `bench/r.txt` -- microscope aggregate, 4
269
+ engines across the six first-party shapes -- and `bench/rb.txt` -- mirror sweep,
270
+ Andrii's canonical adapter verbatim, lite vs alien across 47 rows, isolated-per-row,
271
+ 10 reps) and the older reference host **2016 Intel MacBook Pro, Node 22** (kept
272
+ sweep-over-sweep for cross-host reference; `bench/results.txt` propagation, 9
273
+ scenarios, and `bench/resultsReactive.txt` cross-framework reactivity, median-of-10,
274
+ 34 tests -- the 10 raw reactive-suite runs sit under `bench/bench-runs-reactive/
275
+ run_1.txt` ... `run_10.txt` so anyone can re-median independently). The M4 Pro host
276
+ has a lower run-to-run noise floor than the Intel host, so the sub-percent parity
277
+ band tightens; conversely the Intel host makes small branch-cost swings visible
278
+ that the M4 Pro's frontend absorbs.
279
+
280
+ - **Microscope aggregate on M4 Pro (r.txt):** on the six v3 microscope shapes, lite
281
+ wins vs alien on **MUX +35.3%** (fan-in), **SELECTIVE DAG +20.6%**, **DYNAMIC DAG
282
+ +17.7%**, and -- new this sweep -- **BROADCAST +12.0%** (flipped from -1.2%
283
+ parity on 1.5.0-beta; fan-out is now a fourth speed win). The three allocation-
284
+ heavy wins hold their 1.5.0-beta M4 Pro magnitudes within noise because the
285
+ mutation-hook gate is round-off relative to per-iteration retracking work.
286
+ **KAIROS narrowed from -15.7% to -9.9%** -- the exact opposite of what the Intel
287
+ host shows for the same engine, which is what you would expect if branch
288
+ prediction on the M4's frontend is absorbing the two hook-gate `null` checks
289
+ completely. DEEP CHAIN stays firmly in alien's column at -73.8% (the
290
+ architectural weak spot the honest framing has always named: recursive JS-stack
291
+ computed resolution against a flat chain). Speed wins vs alien: **4/6** (was
292
+ 3/6 on 1.5.0-beta); heap wins: **5/6** with the sixth being a shared-zero on
293
+ BROADCAST.
294
+ - **Propagation bench on Intel (results.txt):** lite +49% / +43% / +35% / +29% on
295
+ the four allocation-heavy scenarios (SELECTIVE DAG / DYNAMIC DAG / MUX / SMALL
296
+ SELECTIVE) -- unchanged in character from the 1.5.0-beta Intel sweep, confirming
297
+ the gate is round-off on allocation-dominated shapes. Parity on LARGE WEB APP
298
+ (-3%) and WIDE DENSE (-6%), inside host noise. **Alien-signals ahead on
299
+ BROADCAST (-10%), KAIROS (-12%, was -7% on 1.5.0-beta), and DEEP CHAIN (-21%,
300
+ was -14% on 1.5.0-beta)** -- the KAIROS and DEEP CHAIN widening IS the observable
301
+ gate cost on this slower host, one predicted `null` check per inner-loop
302
+ iteration on shapes that iterate 1000-25000 times per rep. That the same
303
+ engine reads KAIROS -12% on Intel and -9.9% on M4 Pro is not a contradiction;
304
+ it is what a cross-host branch-cost artifact looks like when only one of the two
305
+ frontends can hide it. Speed wins vs alien on Intel: **4/9** (was 5/9); heap
306
+ wins: **8/9** (unchanged).
307
+ - **Microscope heap (the actual story) on M4 Pro:** on every shape where GC
308
+ pressure exists at all, lite allocates **one to four orders of magnitude less
309
+ transient heap than alien** -- DEEP CHAIN 0.5 KB vs 1062 KB (>2000x, on the
310
+ shape lite loses on time), MUX 0 KB vs 781 KB, KAIROS 23 KB vs 802 KB (34.3x),
311
+ DYNAMIC DAG 3.4 MB vs 60.0 MB (17.9x), SELECTIVE DAG 7.6 MB vs 78.2 MB (10.3x).
312
+ Against preact-signals and solid-signals the heap gap is even wider on the
313
+ fan-in / fan-out family; solid allocates ~17 MB on MUX and ~15 MB on SELECTIVE
314
+ DAG where lite allocates 0 KB and 7.6 MB on the same shapes. The
315
+ differentiated position is ALLOCATION, not raw propagation speed --
316
+ competitive-to-winning throughput with dramatically lower GC pressure, and
317
+ that is the headline that reproduces across hosts.
318
+ - **Mirror sweep on M4 Pro (rb.txt):** Andrii's canonical 47-shape suite re-run
319
+ isolated-per-row lite vs alien on M4 Pro reproduces the same honest framing:
320
+ lite runs **parity-to-behind alien on throughput** across the suite (wins
321
+ outright on **5/47** -- `1000x5 - 25 sources (wide dense)` +12.2%,
322
+ `manySourcesIntoOneComputedEffectWithDirect` +31.8%,
323
+ `manySourcesIntoOneComputedEffect` +31.4%, `molBench` +1.0% (new this sweep),
324
+ and `createComputations4to1` +9.5%; up from 4/47 on 1.5.0-beta), weak on the
325
+ deep/layered-burst family. Every row carries a `#STAMP` and the counters
326
+ (`nodesRecomputed` / `edgesTraversed` / `sinkReads`) match Andrii's published
327
+ suite exactly (`mirror.mjs --self-verify`), so a lite-vs-alien delta here is
328
+ identical work, not DCE.
329
+ - **Reactive suite on Intel (resultsReactive.txt):** fastest of five frameworks
330
+ on all five `dyn` rows (simple +19%, dynamic +13%, large web app +11%, wide
331
+ dense +4%, deep +16%). On the `S: updateComputations` micro-rows lite trades
332
+ the lead with alien: **4/7 wins this sweep** (was 7/7 on 1.5.0-beta),
333
+ consistent with the gate cost on 50-70ms rows that iterate many thousands of
334
+ times per measurement on the Intel host.
287
335
  - **Andrii Volynets js-reactivity-benchmark position holds at 4th of 15** with
288
336
  geomean **73.1ms** (raw log `bench/AndriiVolynetsReactiveBench.log`, all 15
289
337
  x 47 rows); lite is ahead of 5th-place Preact Signals (79.9) by ~9%.
package/README.md CHANGED
@@ -748,27 +748,24 @@ These are the questions you'd ask in a code review, with the answers:
748
748
 
749
749
  ## Benchmarks
750
750
 
751
- Honest numbers, against the same workload, with anti-DCE sinks and verified effect execution. All measurements: Node 22, **2016-era Intel MacBook Pro (4 cores, ~10 yr old hardware)**, **one engine per cold process**, median across reps. Newer/faster machines shift all libs up proportionally; the relative ordering between libs is what matters. Numbers below are the **fresh 1.6.0-alpha bench sweep** (default `prealloc: "eager"`) vs alien-signals on the same `benchmark.mjs` loop -- the harness reports **median execution time + transient heap** rather than ops/s. 1.5.0 -> 1.6.0-alpha changes the hot path for the first time since 1.2.2: two new mutation-hook opcodes fire under a `null`-check gate -- op 6 (`flush-pass-start`) once per pass in `flushEffects`, op 7 (`effect-enqueue`) inside `markDownstream`'s inner loop when a dirty subscriber is enqueued -- so the sha256 of those two function bodies no longer matches 1.5. Both gates are branch-predicted-free when the hook is null; the residual cost is one predicted branch per fire site. The `flushPasses` counter on `stats()` (the new 12th key) advances only while a hook is attached. Everything else is byte-identical to 1.5.1-beta.1 (sha256-verified over `pullComputed`, `executeEffect`, `runCleanup`, `disposeNode`, `allocateLink`, `severTail`, `createNode`, `createRoot`, `createScope`). Third-party engine versions carried forward from the 1.5.0-beta sweep. Full per-engine tables: [`results.txt`](bench/results.txt) (this propagation suite) and [`resultsReactive.txt`](bench/resultsReactive.txt) (the cross-framework reactivity suite). The 10 raw reactive-suite runs are checked into [`bench/bench-runs-reactive/`](./bench/bench-runs-reactive/) so anyone can re-median them independently.
751
+ Honest numbers, against the same workload, with anti-DCE sinks and verified effect execution. All measurements: **Node 26.3.1, Apple M4 Pro (darwin/arm64)**, **one engine per cold process**, median across reps, machine-stamped `#STAMP` (engine + harness sha256, live registry config, host, node) on every output. Newer/faster machines shift all libs up proportionally; the relative ordering between libs is what matters -- and on this newer silicon the run-to-run noise floor is lower, so the sub-percent parity band tightens and the honest wins/losses stand out cleanly. Numbers below are the **fresh 1.6.0-alpha bench sweep** on the v3 **microscope** (`benchmark.mjs`, six first-party shapes, default `prealloc: "eager"`) vs alien-signals -- the harness reports **median execution time + transient heap** rather than ops/s. 1.5.0 -> 1.6.0-alpha changes the hot path for the first time since 1.2.2: two new mutation-hook opcodes fire under a `null`-check gate -- op 6 (`flush-pass-start`) once per pass in `flushEffects`, op 7 (`effect-enqueue`) inside `markDownstream`'s inner loop when a dirty subscriber is enqueued -- so the sha256 of those two function bodies no longer matches 1.5. Both gates are branch-predicted-free when the hook is null; the residual cost is one predicted branch per fire site. The `flushPasses` counter on `stats()` (the new 12th key) advances only while a hook is attached. Everything else is byte-identical to 1.5.1-beta.1 (sha256-verified over `pullComputed`, `executeEffect`, `runCleanup`, `disposeNode`, `allocateLink`, `severTail`, `createNode`, `createRoot`, `createScope`). Third-party engine versions carried forward from the 1.5.0-beta sweep. Full outputs: [`bench/r.txt`](bench/r.txt) (this microscope aggregate across four engines) and [`bench/rb.txt`](bench/rb.txt) (the mirror sweep -- Andrii's canonical adapter verbatim, 47 rows, lite vs alien on the same M4 Pro host); the older Intel MacBook / Node 22 sweep of the same 1.6.0-alpha engine is preserved for cross-host reference at [`bench/results.txt`](bench/results.txt) and shows the gate cost surfacing as -12% on KAIROS / -21% on DEEP CHAIN there -- a host-dependent artifact of the branch cost, not visible on M4 Pro where prediction absorbs it.
752
752
 
753
753
  | Scenario | What it stresses | lite-signal | alien-signals | lite vs alien | transient heap (lite / alien) |
754
754
  | ---------- | -------------------------------- | ----------- | ------------- | ------------- | ----------------------------- |
755
- | **SELECTIVE DAG** | sqrt-layered, set churn, 2 read/iter | **4717 ms** | 9261 ms | **+49% faster** | **1.6 MB / 29 MB** (19x less) |
756
- | **DYNAMIC DAG** | sqrt-layered, FAN=6, read flips each iter | **9770 ms** | 17238 ms | **+43% faster** | **4.9 MB / 27 MB** (5.5x less) |
757
- | **MUX** | 256 signals -> 1 sum -> 1 effect (fan-in) | **67 ms** | 103 ms | **+35% faster** | **38 KB / 3.9 MB** (104x less) |
758
- | **SMALL SELECTIVE** | 6 layers × 64 wide, 6 cand / 3 read | **1972 ms** | 2787 ms | **+29% faster** | **0.3 KB / 22.9 MB** (>=22888x less) |
759
- | **LARGE WEB APP** | 12 layers × ~80 wide, conditional reads | 2825 ms | 2733 ms | -3% (parity) | **0.3 KB / 41 KB** (41x less) |
760
- | **WIDE DENSE** | 5 layers × ~200 wide, dense fan-in | 2888 ms | 2729 ms | -6% (parity) | **0.3 KB / 11.6 MB** (>=11605x less) |
761
- | **BROADCAST** | 1 signal -> 1000 effects (fan-out) | 1177 ms | 1066 ms | -10% | 73 KB / 21 KB |
762
- | **KAIROS** | 1 signal -> 1000 computeds -> 1 effect | 1450 ms | 1293 ms | -12% | 179 KB / 1.1 MB (6.4x less) |
763
- | **DEEP CHAIN** | 256-deep computed chain -> 1 effect | 397 ms | **329 ms** | -21% | 18 KB / 942 KB (52x less) |
755
+ | **MUX** | 256 signals -> 1 sum -> 1 effect (fan-in) | **22.77 ms** | 35.22 ms | **+35.3% faster** | **0 KB / 781 KB** (100% less) |
756
+ | **SELECTIVE DAG** | sqrt-layered, set churn, 2 read/iter | **2013 ms** | 2536 ms | **+20.6% faster** | **7.6 MB / 78.2 MB** (90.3% less, 10.3x) |
757
+ | **DYNAMIC DAG** | sqrt-layered, FAN=6, read flips each iter | **3680 ms** | 4473 ms | **+17.7% faster** | **3.4 MB / 60.0 MB** (94.4% less, 17.9x) |
758
+ | **BROADCAST** | 1 signal -> 1000 effects (fan-out) | **447.81 ms** | 508.88 ms | **+12.0% faster** | ~0 KB / ~0 KB (both fit under GC floor) |
759
+ | **KAIROS** | 1 signal -> 1000 computeds -> 1 effect | 531.09 ms | 483.45 ms | -9.9% | **23 KB / 802 KB** (97.1% less, 34.3x) |
760
+ | **DEEP CHAIN** | 256-deep computed chain -> 1 effect | 171.93 ms | **98.93 ms** | -73.8% | **0.5 KB / 1062 KB** (100% less, >2000x) |
764
761
 
765
762
  *(lower time = faster; transient heap = average delta-heap per rep, lower = less GC pressure)*
766
763
 
767
- **Reading the table:** lite-signal's time wins cluster exactly where its zero-GC design pays off -- the **allocation-heavy dynamic shapes** (**SELECTIVE DAG +49%**, **DYNAMIC DAG +43%**, **SMALL SELECTIVE +29%**), where alien-signals churns the nursery and lite's object pool allocates near-nothing, plus **MUX +35%** (fan-in aggregation). These four allocation-dominated wins are unchanged from the 1.5.0-beta sweep -- the mutation-hook gate is round-off on shapes where the ratio of pool retracking to marker walks favors lite by orders of magnitude. On the cheap, low-allocation **stable** shapes (LARGE WEB APP, WIDE DENSE) lite runs at **parity** with alien -- within a 3-6% band inside this old host's run-to-run noise. The three shapes where alien edges lite are BROADCAST (-10%, pure fan-out with no retracking to amortize), KAIROS (-12%, was -7% on 1.5.0-beta), and the 256-deep pipeline **DEEP CHAIN (-21%**, was -14% on 1.5.0-beta): the gate cost is measurable on shapes that iterate 1000-25000 times per rep with tiny per-iteration work, where a single extra predicted branch per iter is a visible fraction of total time. That gate cost disappears when a profiler is actually attached -- the observable then is the profiler's own cost, not the gate itself.
764
+ **Reading the table:** the M4 Pro sweep clarifies exactly which of lite-signal's wins are real and which were noise on a slower host. The **allocation-heavy dynamic shapes stay lite's home turf**: **MUX +35.3%** (fan-in aggregation), **SELECTIVE DAG +20.6%**, **DYNAMIC DAG +17.7%** -- essentially unchanged from the 1.5.0-beta M4 Pro sweep, confirming the mutation-hook gate is round-off on allocation-dominated shapes where the ratio of pool retracking to marker walks favors lite by orders of magnitude. The genuine news is **BROADCAST flipping to a +12.0% win** (was -1.2% parity on 1.5.0-beta): fan-out is now a fourth speed win on this sweep, and **KAIROS narrowed from -15.7% to -9.9%** -- the exact opposite of what the 2016 Intel host shows for the same engine, which is what you would expect if branch prediction on the M4's frontend is absorbing the two hook-gate `null` checks completely. **DEEP CHAIN -73.8%** is the one shape that stays firmly in alien's column: a 256-deep computed pipeline is the architectural weak spot the honest framing has always named (recursive JS-stack computed resolution loses to alien's flatter chain on hot new cores by a wider margin than on old Intel, and the added per-level gate cost compounds when it does show), and no amount of hook-gate accounting hides that. The mirror-sweep companion ([`bench/rb.txt`](bench/rb.txt)) reproduces the picture across Andrii's 47 shapes: lite runs **parity-to-behind alien on throughput**, wins outright on **5 of the 47** (`1000x5 - 25 sources (wide dense)` +12.2%, both `manySourcesIntoOne*ComputedEffect` fan-ins ~+32%, `molBench` +1.0%, and `createComputations4to1` +9.5%) -- and this is not the story to tell.
768
765
 
769
- On allocation pressure, `lite-signal` wins **8 of 9 scenarios** and is alone in the zero-alloc band: **~0.3 KB** of transient garbage on the stable app shapes (large web app, wide dense, small selective) across the whole run. The contrast is starkest on the dynamic DAGs -- lite allocates 1.6-4.9 MB (genuine retracking re-links) where alien-signals allocates 27-29 MB on the same shapes, and that allocation gap is the mechanism behind lite's +43-49% wins there once each engine is measured in isolation. The one scenario where lite allocates more is **BROADCAST** (73 KB vs alien's 21 KB), a pure fan-out with no retracking. `prealloc: "lazy"` trades a little extra first-construction allocation on the dynamic shapes for a smaller resident heap and faster cold start; the steady state is identical. preact and solid trail both engines on the dynamic shapes by 1-2 orders of magnitude on transient heap.
766
+ **The story is the heap column.** On every microscope shape where GC pressure exists at all, `lite-signal` allocates **one to four orders of magnitude less transient heap than alien-signals**: DEEP CHAIN 0.5 KB vs 1062 KB (>2000x less -- yes, on the shape where lite is behind on time), MUX 0 KB vs 781 KB, KAIROS 23 KB vs 802 KB (34.3x), DYNAMIC DAG 3.4 MB vs 60.0 MB (17.9x), SELECTIVE DAG 7.6 MB vs 78.2 MB (10.3x). On BROADCAST both engines are effectively zero. Against preact-signals and solid-signals the heap gap is even wider on the fan-in / fan-out family -- solid allocates ~17 MB on MUX and ~15 MB on SELECTIVE DAG where lite allocates 0 KB and 7.6 MB respectively (`bench/r.txt`). **`lite-signal`'s differentiated position is ALLOCATION, not raw propagation speed**: competitive-to-winning throughput with dramatically lower GC pressure, not "fastest dynamic-graph engine". That headline is the one that reproduces across hosts, sweeps, and third-party version bumps -- because the object pool is the mechanism, not a tuning knob.
770
767
 
771
- > Note on the +70.8 KB retained that lite-signal shows on KAIROS specifically: that's the pre-allocated pool sitting in memory holding the live graph (1002 nodes + ~2000 links). The pool *is* the working memory -- see the [Case for object pooling](#case-for-object-pooling) section. On the other benches the graph is small enough that the same pool floats below baseline after GC.
768
+ > Note on the +23 KB delta-heap that lite-signal shows on KAIROS: that's the pre-allocated pool sitting in memory holding the live graph (1002 nodes + ~2000 links). The pool *is* the working memory -- see the [Case for object pooling](#case-for-object-pooling) section. On the other shapes the graph is small enough that the same pool floats below the GC baseline.
772
769
 
773
770
  The benchmark harness is in [`bench/benchmark.mjs`](./bench/benchmark.mjs); a full methodology write-up -- including the anti-DCE design, workload diagrams, variance discipline, reproducibility recipe, and a self-validation procedure for the harness itself -- lives in [`bench/README.md`](./bench/README.md). It:
774
771
 
@@ -841,7 +838,7 @@ npm run test:gc
841
838
 
842
839
  ### Tier 3 -- Performance (comparative benchmark)
843
840
 
844
- `npm run bench` runs the **microscope** -- lite's recommended eager config on six first-party shapes (`bench/results.txt`). Cross-framework standing comes from the **mirror** (`node --expose-gc bench/mirror.mjs --self-verify` then `bench/sweep.mjs`), which runs Andrii's canonical adapter verbatim so rows diff 1:1 against his log. Every output carries a machine-generated `#STAMP` (engine + harness sha256, the live registry config, host, node), so a header can never disagree with the code that ran. The pre-v3 five-framework reactivity suite was **removed after 1.5.1** (bench protocol v3). Full methodology: [`bench/README.md`](./bench/README.md).
841
+ `npm run bench` runs the **microscope** -- lite's recommended eager config on six first-party shapes; the aggregate output on Apple M4 Pro is [`bench/r.txt`](bench/r.txt) (four engines: lite, alien, preact, solid), and the same engine on the older Intel MacBook / Node 22 host is preserved at [`bench/results.txt`](bench/results.txt) for cross-host reference. Cross-framework standing comes from the **mirror** (`node --expose-gc bench/mirror.mjs --self-verify` then `bench/sweep.mjs`), which runs Andrii's canonical adapter verbatim so rows diff 1:1 against his log; the aggregate output is [`bench/rb.txt`](bench/rb.txt) (lite vs alien, all 47 shapes). Every output carries a machine-generated `#STAMP` (engine + harness sha256, the live registry config, host, node), so a header can never disagree with the code that ran. The pre-v3 five-framework reactivity suite was **removed after 1.5.1** (bench protocol v3). Full methodology: [`bench/README.md`](./bench/README.md).
845
842
 
846
843
  ```bash
847
844
  npm run bench
@@ -1030,30 +1027,39 @@ In stable environments (game engines, particle systems, visualizers), `lite-sign
1030
1027
  | **1000x5 (25 sources, wide/dense)** | 304ms | 303ms | 1746ms |
1031
1028
  | **64x6 (selective dynamic DAG)** | 181ms | 196ms | 559ms |
1032
1029
 
1033
- *1.5.0-beta (default eager) on the local harness (slow 2016 MacBook, one engine per cold process -- compare within-column, lite vs alien; the approximating scenarios from `bench/benchmark.mjs`):*
1034
- | Scenario | alien-signals | lite-signal (1.5.0-beta) | result |
1030
+ *1.6.0-alpha (default eager) on the v3 microscope (`bench/r.txt`, Apple M4 Pro darwin/arm64, Node 26.3.1, one engine per cold process -- compare within-column, lite vs alien):*
1031
+ | Scenario | alien-signals | lite-signal (1.6.0-alpha) | result |
1035
1032
  | :--- | :--- | :--- | :--- |
1036
- | **SELECTIVE DAG** (sqrt-layered, set churn) | 9166ms | 4757ms | **lite +48%** |
1037
- | **DYNAMIC DAG** (sqrt-layered, FAN=6) | 17375ms | 9630ms | **lite +45%** |
1038
- | **SMALL SELECTIVE** (~ 64x6) | 2745ms | 1940ms | **lite +29%** |
1039
- | **LARGE WEB APP** (~ 1000x12) | 2845ms | 2800ms | **lite +2%** (flipped from -3% on 1.4.0) |
1040
- | **WIDE DENSE** (~ 1000x5) | 2719ms | 2870ms | alien +6% |
1041
-
1042
- > **Honest note (1.5.0-beta isolated run):** measured one-engine-per-process, lite-signal's
1043
- > big wins are still on the **allocation-heavy** dynamic shapes (SELECTIVE DAG +48%, DYNAMIC
1044
- > DAG +45%, SMALL SELECTIVE +29%) -- exactly where alien churns the nursery and lite's pool
1045
- > allocates near-nothing. **LARGE WEB APP flipped into a small lite win this sweep** (+2%,
1046
- > from -3% on 1.4.0), attributable to the alien-signals 3.1.2 -> 3.2.1 bump between sweeps;
1047
- > on a ~2800ms base the sign of that parity result depends on which third-party version is
1048
- > in the other column. 1.5.0's hot paths are byte-identical to 1.4.0 (1.5.0 adds the
1049
- > `signalBox` / `computedBox` non-callable handle plus `createRoot`, none of which move
1050
- > steady-state throughput), so these match the 1.4.0 isolated numbers within noise -- not
1051
- > engine changes. lite remains the only zero-alloc library on every stable scenario
1052
- > (see [`results.txt`](bench/results.txt)).
1053
-
1054
- The cross-framework reactivity suite agrees independently, re-run on **1.6.0-alpha** (default eager, median-of-10, isolated): lite-signal is the **fastest of five frameworks on all five `dyn` rows** -- `dyn: large web app` **536ms** (+11% vs alien-signals' 600ms) and `dyn: wide dense` **903ms** (+4% vs 939ms), plus simple component (+19%), dynamic component (+13%), and deep (+16%) -- with preact 6-19x slower and vue 15-33x slower on the app-shaped graphs (see [`resultsReactive.txt`](bench/resultsReactive.txt); the 10 raw runs are checked into [`bench/bench-runs-reactive/`](./bench/bench-runs-reactive/)). On the `S: updateComputations` micro-rows lite trades the lead with alien within a few percent (4/7 wins on this sweep, was 7/7 on 1.5.0-beta -- the shift is consistent with the two new hook-gated branches in `markDownstream` / `flushEffects`, each a single predicted `null` check per fire site but visible on 50-70ms rows that iterate many thousands of times). The retracking is verified correct by `retracking.difftest.mjs` -- 20,000 direct + 10,000 batched writes, 0 disagreements against the **published 1.1.5** reference (re-pinned for v1.2).
1055
-
1056
- **The Takeaway:** as of 1.1.4 you no longer have to choose, and 1.6.0-alpha extends the story -- the engine still ranks **4th of 15** on the official js-reactivity-benchmark (the only zero-GC library in the field, now with **6 outright wins** across wide-aggregation and mixed-app shapes). `lite-signal` keeps the zero-GC, flat-arena profile for 120fps Canvas/WebGL **and** wins decisively on the high-churn dynamic and fan-in topologies that dominate live UI -- the shapes where zero allocation pays off most. On the cheap propagation shapes (KAIROS, DEEP CHAIN, BROADCAST) the new mutation-hook gate costs a few percent (measurable because those shapes have almost no allocation for the gate to disappear into); on the wide-aggregation shapes the gate is round-off. The one shape where alien's flatter representation still leads is the 256-deep computed pipeline (DEEP CHAIN, -21% on the 1.6.0-alpha isolated run -- widened from -14% on 1.5.0-beta by the added per-level gate cost; when a profiler is attached the observable becomes the profiler's own cost and the gate itself disappears from the picture).
1033
+ | **MUX** (256 sigs -> sum -> effect) | 35.22 ms | 22.77 ms | **lite +35.3%** |
1034
+ | **SELECTIVE DAG** (sqrt-layered, set churn) | 2536 ms | 2013 ms | **lite +20.6%** |
1035
+ | **DYNAMIC DAG** (sqrt-layered, FAN=6) | 4473 ms | 3680 ms | **lite +17.7%** |
1036
+ | **BROADCAST** (1 -> 1000 effects) | 508.88 ms | 447.81 ms | **lite +12.0%** (flipped from -1.2% on 1.5.0-beta) |
1037
+ | **KAIROS** (1 -> 1000 computeds) | 483.45 ms | 531.09 ms | alien +9.9% (narrowed from -15.7% on 1.5.0-beta) |
1038
+ | **DEEP CHAIN** (256-deep -> effect) | 98.93 ms | 171.93 ms | alien +73.8% |
1039
+
1040
+ > **Honest note (1.6.0-alpha on M4 Pro):** measured one-engine-per-process, lite-signal's
1041
+ > wins cluster on the **allocation-heavy** dynamic shapes (MUX +35.3%, SELECTIVE DAG
1042
+ > +20.6%, DYNAMIC DAG +17.7%) -- essentially unchanged from the 1.5.0-beta M4 Pro
1043
+ > sweep, confirming the mutation-hook gate is round-off on allocation-dominated shapes
1044
+ > where the ratio of pool retracking to marker walks favors lite by orders of magnitude.
1045
+ > The genuine news is **BROADCAST flipping to a +12.0% win** (was parity -1.2% on
1046
+ > 1.5.0-beta): fan-out is now a fourth speed win on this sweep, and KAIROS narrowed
1047
+ > from -15.7% to -9.9% -- the exact opposite of what the 2016 Intel host shows for the
1048
+ > same engine (KAIROS -7% -> -12% there), which is what you would expect if branch
1049
+ > prediction on the M4's frontend is absorbing the two hook-gate `null` checks
1050
+ > completely. DEEP CHAIN -73.8% is the one shape that stays firmly in alien's column
1051
+ > and no amount of hook-gate accounting hides that (recursive JS-stack computed
1052
+ > resolution against a flat chain is the architectural weak spot the honest framing
1053
+ > has always named). Everything else is byte-identical to 1.5.1-beta.1 (sha256-verified
1054
+ > over `pullComputed`, `executeEffect`, `runCleanup`, `disposeNode`, `allocateLink`,
1055
+ > `severTail`, `createNode`, `createRoot`, `createScope`); only `markDownstream` and
1056
+ > `flushEffects` picked up the two new opcodes. lite remains one to four orders of
1057
+ > magnitude below alien on transient heap on every shape where GC pressure exists at
1058
+ > all (see [`bench/r.txt`](bench/r.txt)).
1059
+
1060
+ The mirror sweep ([`bench/rb.txt`](bench/rb.txt), Andrii's canonical adapter verbatim, isolated-per-row, 10 reps, lite vs alien across all 47 shapes on the same M4 Pro host) reproduces the same picture: lite runs **parity-to-behind alien on throughput**, wins outright on **5/47** (`1000x5 - 25 sources (wide dense)` +12.2%, both `manySourcesIntoOne*ComputedEffect` fan-ins ~+32%, `molBench` +1.0%, and `createComputations4to1` +9.5%; up from 4/47 on 1.5.0-beta), weak on the deep/layered-burst family. Every row carries a `#STAMP` and the counters (`nodesRecomputed` / `edgesTraversed` / `sinkReads`) match Andrii's published suite exactly, so a lite-vs-alien delta here is identical work, not DCE. The retracking is verified correct by `retracking.difftest.mjs` -- 20,000 direct + 10,000 batched writes, 0 disagreements against the **published 1.1.5** reference (re-pinned for v1.2).
1061
+
1062
+ **The Takeaway:** as of 1.1.4 you no longer have to choose, and 1.6.0-alpha extends the story -- the engine still ranks **4th of 15** on the official js-reactivity-benchmark (the only zero-GC library in the field, now with **6 outright wins** across wide-aggregation and mixed-app shapes). `lite-signal` keeps the zero-GC, flat-arena profile for 120fps Canvas/WebGL **and** wins decisively on the high-churn dynamic and fan-in topologies that dominate live UI -- the shapes where zero allocation pays off most. On M4 Pro the win count moved to **4/6** on the microscope (MUX / SELECTIVE DAG / DYNAMIC DAG / BROADCAST) after BROADCAST flipped from parity, and KAIROS narrowed by 6 points, both against the direction the Intel host shows for the same engine -- fast-frontend branch prediction absorbs the mutation-hook gate cost that the older host makes visible (`bench/results.txt` preserves that Intel measurement at KAIROS -12% / DEEP CHAIN -21%; both are honest, and the divergence between them is a cross-host artifact of the branch cost, not a code path difference). The one shape where alien's flatter representation still leads decisively is the 256-deep computed pipeline (DEEP CHAIN -73.8% on the M4 Pro isolated run; lite's allocation on DEEP CHAIN is 0.5 KB vs alien's 1062 KB, >2000x less transient heap on the same shape).
1057
1063
 
1058
1064
  ### Roadmap
1059
1065
  - **1.1.5** -- additions in service of `lite-devtools` (node identity/traversability on the introspection walkers, for full auto-discovered graph rendering). *Shipped.*
@@ -1312,7 +1318,7 @@ Yes, if your computeFn reads its deps in the same order each invocation. The `cu
1312
1318
  ```bash
1313
1319
  npm test # behavior suite, ~1.3s
1314
1320
  npm run test:gc # zero-gc suite, requires --expose-gc, ~3s
1315
- npm run bench # comparative benchmark vs alien-signals (results.txt), ~5min
1321
+ npm run bench # microscope + mirror comparative benches (r.txt / rb.txt), ~5min
1316
1322
  node --expose-gc bench/mirror.mjs --self-verify # cross-framework mirror sweep (bench protocol v3)
1317
1323
  npm run harness:field # verify + cold-child A/B bench (fieldkit)
1318
1324
  npm run harness:all # field + dispose + churn probes, in sequence
package/llms.txt CHANGED
@@ -67,16 +67,20 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
67
67
  branch-predicted `null` check per fire site (per pass in `flushEffects`, per
68
68
  enqueued dirty subscriber in `markDownstream`'s inner loop). **The hot path
69
69
  is no longer byte-identical to 1.5 for the first time since 1.2.2**; the
70
- observable cost is a few percent on the cheapest propagation shapes (KAIROS
71
- -7% -> -12% vs alien on the 1.6.0-alpha sweep, DEEP CHAIN -14% -> -21%) and
72
- round-off on allocation-dominated shapes (SELECTIVE DAG +49%, DYNAMIC DAG
73
- +43%, MUX +35%, SMALL SELECTIVE +29% -- unchanged from the 1.5.0-beta
74
- sweep). When a profiler is actually attached, the observable becomes the
75
- profiler's own cost and the gate itself disappears from the picture. This is
76
- what lets lite-devtools 1.2 / lite-studio 1.2's `watchAllocations` chart
77
- recompute/flush activity alongside the 1.4.0 allocation counters
78
- (`totalAllocations` / `poolGrowths` / `totalDisposals`); only the flush
79
- series requires 1.6.
70
+ observable cost is host-dependent -- on the 2016 Intel MacBook / Node 22 host
71
+ (`bench/results.txt`) KAIROS moves -7% -> -12% and DEEP CHAIN -14% -> -21%
72
+ because the slower frontend can't fully hide a per-iteration predicted branch
73
+ on shapes that iterate 1000-25000 times per rep; on the M4 Pro / Node 26 host
74
+ (`bench/r.txt`) KAIROS actually narrows from -15.7% to -9.9% and BROADCAST
75
+ flips from -1.2% parity to a +12.0% win (fast frontend absorbs the gate
76
+ completely and the underlying propagation shows through). Round-off on
77
+ allocation-dominated shapes on either host (MUX +35%, SELECTIVE DAG +21%,
78
+ DYNAMIC DAG +18% on M4 Pro; +35% / +49% / +43% on Intel). When a profiler is
79
+ actually attached, the observable becomes the profiler's own cost and the
80
+ gate itself disappears from the picture. This is what lets lite-devtools 1.2 /
81
+ lite-studio 1.2's `watchAllocations` chart recompute/flush activity alongside
82
+ the 1.4.0 allocation counters (`totalAllocations` / `poolGrowths` /
83
+ `totalDisposals`); only the flush series requires 1.6.
80
84
 
81
85
  **3) `createScope(fn)` -- the disposable-owner counterpart to `createRoot`.**
82
86
  Runs `fn(dispose)` in a detached, untracked scope and returns whatever `fn`
@@ -618,54 +622,62 @@ None of these touch the reactive engine -- no `FLAG_WATCHER` on `ReactiveNode`,
618
622
 
619
623
  The deliberate engineering for `watch`'s "0 per fire" is the hoisted `untrackedFire` closure with `currentNewValue` shared mutable state -- see source comment in `watch.js`. Inline arrow function inside the effect body would allocate per fire and break the zero-GC contract.
620
624
 
621
- ## Benchmark snapshot (Node 22, 2016-era Intel MacBook Pro, default eager, median across reps -- @1.6.0-alpha.0)
625
+ ## Benchmark snapshot (Node 26.3.1, Apple M4 Pro darwin/arm64, default eager, median across reps -- @1.6.0-alpha.0)
622
626
 
623
- `benchmark.mjs` head-to-head vs alien-signals on app-shaped scenarios (time = median
624
- execution; heap = average transient delta-heap per rep; lite-signal numbers are
625
- @1.6.0-alpha.0, hot paths NOT byte-identical to 1.5 for the first time since 1.2.2 --
626
- 1.6 adds two hook-gated fires: op 6 in `flushEffects` (per pass), op 7 in
627
- `markDownstream`'s inner loop (per enqueued dirty subscriber). Both are branch-
628
- predicted-free when no profiler is attached; the residual cost is one predicted
629
- `null` check per fire site. Third-party engine versions carried forward from the
630
- 1.5.0-beta sweep):
627
+ v3 microscope (`benchmark.mjs`, six first-party shapes, `bench/r.txt`) head-to-head vs
628
+ alien-signals (time = median execution; heap = average transient delta-heap per rep;
629
+ lite-signal numbers are @1.6.0-alpha.0, hot paths NOT byte-identical to 1.5 for the
630
+ first time since 1.2.2 -- 1.6 adds two hook-gated fires: op 6 in `flushEffects` (per
631
+ pass), op 7 in `markDownstream`'s inner loop (per enqueued dirty subscriber). Both
632
+ are branch-predicted-free when no profiler is attached; the residual cost is one
633
+ predicted `null` check per fire site. Third-party engine versions carried forward
634
+ from the 1.5.0-beta sweep. The older Intel MacBook / Node 22 sweep of the same
635
+ 1.6.0-alpha engine is preserved for cross-host reference at `bench/results.txt`):
631
636
 
632
637
  | Scenario | lite vs alien (time) | transient heap (lite / alien) |
633
638
  | -------------------------------- | -------------------- | ----------------------------- |
634
- | SELECTIVE DAG (set churn) | **+49% faster** | 1.6 MB / 29 MB |
635
- | DYNAMIC DAG (FAN=6, read flips) | **+43% faster** | 4.9 MB / 27 MB |
636
- | MUX (256 sigs -> sum -> effect) | **+35% faster** | 38 KB / 3.9 MB |
637
- | SMALL SELECTIVE (~64x6) | **+29% faster** | 0.3 KB / 22.9 MB |
638
- | LARGE WEB APP (~1000x12) | -3% (parity) | 0.3 KB / 41 KB |
639
- | WIDE DENSE (~1000x5) | -6% (parity) | 0.3 KB / 11.6 MB |
640
- | BROADCAST (1 -> 1000 effects) | -10% | 73 KB / 21 KB |
641
- | KAIROS (1 -> 1000 computeds) | -12% | 179 KB / 1.1 MB |
642
- | DEEP CHAIN (256-deep -> effect) | -21% | 18 KB / 942 KB |
643
-
644
- lite-signal's time wins are the allocation-heavy dynamic shapes (object pool allocates
645
- near-nothing; alien churns the nursery), plus MUX fan-in aggregation -- the patterns
646
- that dominate live UI under input churn. **Speed wins vs alien: 4/9** (was 5/9 on
647
- 1.5.0-beta -- LARGE WEB APP flipped back to parity within host noise, +2% -> -3%).
648
- The four wide-aggregation wins (SELECTIVE DAG, DYNAMIC DAG, MUX, SMALL SELECTIVE)
649
- hold their prior magnitudes because the gate is round-off relative to per-iteration
650
- retracking work. Losses widened on the cheapest propagation shapes where every branch
651
- matters: BROADCAST (was -12%, now -10%), KAIROS (was -7%, now -12%), DEEP CHAIN (was
652
- -14%, now -21%). The KAIROS and DEEP CHAIN widening is the observable gate cost --
653
- one predicted `null` check per inner-loop iteration on shapes that iterate 1000-25000
654
- times per rep. When a profiler is actually attached the observable becomes the
655
- profiler's own cost. On allocation, lite wins 8/9 scenarios and is alone in the
656
- zero-alloc band (~0.3 KB transient on the stable app shapes).
657
-
658
- The cross-framework reactivity suite (5 frameworks) re-run on 1.6.0-alpha (default eager,
659
- median-of-10): lite-signal is fastest on all five `dyn:*` rows -- `dyn: large web app`
660
- 536ms (+11% vs alien-signals' 600ms), `dyn: wide dense` 903ms (+4% vs 939ms), plus
661
- simple component (+19%), dynamic component (+13%), deep (+16%) -- with preact 6-19x
662
- slower and vue 15-33x slower on the app-shaped graphs. On the `S: updateComputations`
663
- micro-rows lite trades the lead with alien: **4/7 wins this sweep** (was 7/7 on
664
- 1.5.0-beta) -- the drop is consistent with the gate cost on 50-70ms rows that iterate
665
- many thousands of times per measurement. Retracking verified correct by
666
- `retracking.difftest.mjs` (20,000 direct + 10,000 batched writes, 0 disagreements vs
667
- published 1.1.5). `prealloc: "lazy"` trades a little first-construction allocation on the
668
- dynamic shapes for a smaller resident heap and faster cold start; steady state identical.
639
+ | MUX (256 sigs -> sum -> effect) | **+35.3% faster** | 0 KB / 781 KB (100% less) |
640
+ | SELECTIVE DAG (set churn) | **+20.6% faster** | 7.6 MB / 78.2 MB (10.3x) |
641
+ | DYNAMIC DAG (FAN=6, read flips) | **+17.7% faster** | 3.4 MB / 60.0 MB (17.9x) |
642
+ | BROADCAST (1 -> 1000 effects) | **+12.0% faster** | ~0 KB / ~0 KB (both zero) |
643
+ | KAIROS (1 -> 1000 computeds) | -9.9% | 23 KB / 802 KB (34.3x) |
644
+ | DEEP CHAIN (256-deep -> effect) | -73.8% | 0.5 KB / 1062 KB (>2000x) |
645
+
646
+ lite-signal's time wins on the 1.6.0-alpha M4 Pro sweep cluster on the allocation-heavy
647
+ dynamic shapes (object pool allocates near-nothing; alien churns the nursery), plus MUX
648
+ fan-in aggregation -- the patterns that dominate live UI under input churn.
649
+ **Speed wins vs alien: 4/6** (was 3/6 on 1.5.0-beta -- **BROADCAST flipped to a +12.0%
650
+ win** on this sweep, from -1.2% parity, adding fan-out to the win column). The three
651
+ allocation-heavy wins (MUX / SELECTIVE DAG / DYNAMIC DAG) hold their 1.5.0-beta M4 Pro
652
+ magnitudes within noise because the gate is round-off relative to per-iteration
653
+ retracking work. KAIROS narrowed from -15.7% to -9.9% -- the exact opposite of what
654
+ the 2016 Intel host shows for the same engine (KAIROS -7% -> -12% there), which is
655
+ what you would expect if branch prediction on the M4's frontend is absorbing the two
656
+ hook-gate `null` checks completely. DEEP CHAIN -73.8% is the one shape that stays
657
+ firmly in alien's column and no amount of hook-gate accounting hides that (recursive
658
+ JS-stack computed resolution against a flat chain is the architectural weak spot the
659
+ honest framing has always named). On allocation, lite wins 5/6 shapes and is one to
660
+ four orders of magnitude below alien on every shape where GC pressure exists at all;
661
+ the sixth is a shared-zero on BROADCAST.
662
+
663
+ **The differentiated position is ALLOCATION, not raw propagation speed** -- competitive-
664
+ to-winning throughput with dramatically lower GC pressure, not "fastest dynamic-graph
665
+ engine". That headline reproduces across hosts, sweeps, and third-party version bumps
666
+ because the object pool is the mechanism, not a tuning knob.
667
+
668
+ Mirror sweep (`bench/rb.txt`, Andrii's canonical adapter verbatim, isolated-per-row,
669
+ 10 reps, lite vs alien only on the same M4 Pro host) reproduces the same picture
670
+ across all 47 shapes: lite runs parity-to-behind alien on throughput, wins outright
671
+ on **5/47** (was 4/47 on 1.5.0-beta): `1000x5 - 25 sources (wide dense)` +12.2%,
672
+ `manySourcesIntoOneComputedEffectWithDirect` +31.8%, `manySourcesIntoOneComputedEffect`
673
+ +31.4%, `molBench` +1.0% (new this sweep), and `createComputations4to1` +9.5%. Weak
674
+ on the deep/layered-burst family. Every row carries a `#STAMP` and the counters
675
+ (`nodesRecomputed` / `edgesTraversed` / `sinkReads`) match Andrii's published suite
676
+ exactly, so a lite-vs-alien delta here is identical work, not DCE. Retracking verified
677
+ correct by `retracking.difftest.mjs` (20,000 direct + 10,000 batched writes, 0
678
+ disagreements vs published 1.1.5). `prealloc: "lazy"` trades a little first-construction
679
+ allocation on the dynamic shapes for a smaller resident heap and faster cold start;
680
+ steady state identical.
669
681
 
670
682
  **Andrii Volynets js-reactivity-benchmark position: 4th of 15** with geomean
671
683
  **73.1ms** (was 79.3 on 1.5.0-beta -- own-side improvement + Preact recovered from
@@ -678,7 +690,7 @@ vs @vue/reactivity 1.6x, vs Signia 2.0x, vs MobX 2.3x, vs @solidjs/signals 2.8x,
678
690
  SolidJS 4.2x, vs Preact 1.09x. Raw log: `bench/AndriiVolynetsReactiveBench.log`.
679
691
 
680
692
  Retained heap after forced GC: typically negative for all libs (V8 compacts).
681
- The one exception: lite-signal shows ~+71 KB retained on KAIROS, which is the
693
+ The one exception: lite-signal shows ~+23 KB retained on KAIROS, which is the
682
694
  pre-allocated pool holding the live 1002-node graph in steady state. This is
683
695
  the design: the pool IS the working memory. Not a leak.
684
696
 
@@ -769,11 +781,13 @@ function dumpOwnerTree(handle, depth = 0) {
769
781
  - `test/24-signalbox.test.mjs` -- staged for 1.5.0; all tests `{skip: true}` on 1.2.x.
770
782
  - `test/25-devtools-real-boot.test.mjs` -- 1.2.2: real `Devtools.js` boot against the engine, ghost-contract pin, `stats()` shape pin (10 tests).
771
783
  - `test/26-free-list-invariant.test.mjs` -- 1.2.2: the audit's clean-free-list invariant, asserted by inspecting freshly-allocated nodes (4 tests).
772
- - `bench/benchmark.mjs` -- anti-DCE throughput harness (ops/s; results.txt).
773
- - `bench/benchmarkReactive.mjs` -- cross-framework reactivity suite vs alien-signals, preact, vue-reactivity, solid (resultsReactive.txt).
784
+ - `bench/benchmark.mjs` -- anti-DCE throughput harness (microscope; median across reps; raw output `results.txt` on the Intel host, aggregate across four engines `r.txt` on M4 Pro).
785
+ - `bench/mirror.mjs` + `bench/sweep.mjs` -- Andrii's canonical adapter verbatim, cross-framework rows diffing 1:1 against his log; aggregate output `rb.txt` (lite vs alien across 47 shapes, isolated-per-row).
786
+ - `bench/aggregate.mjs` + `bench/report.mjs` -- microscope + mirror aggregators writing `r.txt` / `rb.txt` with `#STAMP` headers (engine + harness sha256, live registry config, host, node).
787
+ - `bench/AndriiVolynetsReactiveBenchScore/AndriiVolynetsReactiveBench.log` -- Andrii's own 15-framework x 47-test log, checked in for audit; the ranking source of truth.
774
788
  - `bench/dispose-recycle.mjs` -- 1.2.2 targeted microbench: create/dispose/recreate cycle (the free-list invariant audit target).
775
789
  - `bench/torture/` -- crash-detection soaks: `graph-fuzzer`, `scheduler-bench`, `torture-soak`. Exit 0 iff zero errors AND post-teardown pool clean.
776
- - `bench/run-all.sh` + `bench/aggregate.mjs` -- cold-process-per-engine protocol + per-scenario aggregation.
790
+ - `bench/run-all-bench.sh` -- cold-process-per-engine driver (`FW=<engine>` per child), fed to `aggregate.mjs` for medianing.
777
791
  - `harness/run.mjs` -- dispatcher for the run-on-demand probes (field, dispose, churn, owner, creation, all).
778
792
  - `harness/fieldkit.mjs` -- single-file portable verify + cold-child A/B bench across six shapes.
779
793
  - `harness/churnprobe.mjs` -- topology-churn-per-recompute via onGraphMutation opcodes 3/4 (link add/sever); the 1.11 cone-cache gate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zakkster/lite-signal",
3
- "version": "1.6.0-alpha.2",
3
+ "version": "1.6.0-alpha.3",
4
4
  "description": "Zero-GC reactive graph. Monomorphic object pool, versioned push-pull propagation, 32-bit modular versioning. Built for hot paths and long-running processes.",
5
5
  "author": "Zahary Shinikchiev <shinikchiev@yahoo.com>",
6
6
  "license": "MIT",