@zakkster/lite-signal 1.9.0-preview.1 → 1.9.0-preview.2

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 +74 -0
  2. package/README.md +57 -50
  3. package/llms.txt +66 -40
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -364,6 +364,80 @@ twins (see the 1.12.0-preview trace-twin design).
364
364
  between `createRoot` and `createScope`; sha256 confirms no
365
365
  pre-existing function was disturbed by the insertion.
366
366
 
367
+ ### Verified -- fresh 1.9.0-preview bench sweep (Apple M4 Pro / Node 26)
368
+
369
+ Both v3 instruments were re-run in full on the 1.9.0-preview engine on
370
+ **Apple M4 Pro darwin/arm64, Node 26.3.1**, with `#STAMP`-verified
371
+ outputs committed to `bench/r.txt` (microscope aggregate, 4 engines
372
+ across the six first-party shapes) and `bench/rb.txt` (mirror sweep,
373
+ Andrii's canonical adapter verbatim, lite vs alien across 47 rows,
374
+ isolated-per-row, 10 reps). Andrii 15-framework log at
375
+ `bench/AndriiVolynetsReactiveBench.log` (byte-identical to 1.8.0's --
376
+ the 1.9.0-preview engine is sha256-identical to 1.8.0 on all 14
377
+ propagation / flush-scaffold functions and differs only in `effect` and
378
+ `createScope` by one existence-guarded `[Symbol.dispose]` stamp line
379
+ each on the cold creation path, so the ranking numbers carry with zero
380
+ re-verification cost).
381
+
382
+ - **Andrii Volynets js-reactivity-benchmark position holds at 3rd of
383
+ 15** (the position lite moved to on 1.8.0) with geomean **95.4 ms**;
384
+ lite is ahead of 4th-place @reactively (136.0, lite 1.43x faster) and
385
+ 5th-place Preact Signals (148.8, ~56% ahead), behind only
386
+ alien-signals (77.5) and reflex (89.7). **20 outright wins** (the
387
+ eight canonical propagation shapes, all four wide fan-in / fan-out
388
+ shapes, `molBench`, and seven of the rectangular / layered DAG
389
+ shapes). Top-3 count: **29/47**. Since the engine is sha256-identical
390
+ to 1.8.0 across every propagation function, this is the same log
391
+ 1.8.0 published; re-running Andrii's suite would produce host-noise
392
+ drift, not a code-driven delta.
393
+ - **Microscope aggregate on M4 Pro (r.txt):** on the six v3 microscope
394
+ shapes, lite wins vs alien on **MUX +34.9%** (fan-in), **SELECTIVE
395
+ DAG +20.9%**, **DYNAMIC DAG +16.1%**, and **BROADCAST +5.2%**
396
+ (narrowed from +9.4% on 1.8.0 but still on the win side of parity).
397
+ The wins hold within noise of the 1.8.0 M4 Pro sweep despite the two
398
+ `[Symbol.dispose]` stamp lines added at effect / createScope
399
+ creation, which is what "one existence guard per cold creation path,
400
+ nothing on the propagation hot path" looks like in the propagation
401
+ numbers. Alien ahead on **KAIROS -19.5%** (widened from -15.9% on
402
+ 1.8.0 -- host-noise drift on the shape where lite is architecturally
403
+ weakest) and **DEEP CHAIN -72.8%** (the architectural weak spot:
404
+ recursive JS-stack computed resolution against alien's flatter
405
+ chain). Speed wins vs alien: **4/6**; heap wins: **5/6** with the
406
+ sixth being a shared-zero on BROADCAST.
407
+ - **Microscope heap (the actual story) on M4 Pro:** on every shape
408
+ where GC pressure exists at all, lite allocates **one to four orders
409
+ of magnitude less transient heap than alien** -- DEEP CHAIN 0.5 KB vs
410
+ 1062 KB (>2000x, on the shape lite loses on time), MUX 0 KB vs 781
411
+ KB, KAIROS 23 KB vs 802 KB (34.3x), DYNAMIC DAG 3.4 MB vs 55.7 MB
412
+ (16.6x), SELECTIVE DAG 7.7 MB vs 76.5 MB (9.9x). Against
413
+ preact-signals and solid-signals the heap gap is even wider on the
414
+ fan-in / fan-out family; solid allocates ~17 MB on MUX and ~15 MB on
415
+ SELECTIVE DAG where lite allocates 0 KB and 7.7 MB on the same
416
+ shapes. The differentiated position is ALLOCATION, not raw
417
+ propagation speed -- competitive-to-winning throughput with
418
+ dramatically lower GC pressure, and that is the headline that
419
+ reproduces across hosts.
420
+ - **Mirror sweep on M4 Pro (rb.txt):** Andrii's canonical 47-shape
421
+ suite re-run isolated-per-row lite vs alien on M4 Pro reproduces the
422
+ same honest framing: lite runs **parity-to-behind alien on
423
+ throughput** across the head-to-head suite (wins outright on **3/47**
424
+ -- `1000x5 - 25 sources (wide dense)` +10.7%,
425
+ `manySourcesIntoOneComputedEffectWithDirect` +31.5%,
426
+ `manySourcesIntoOneComputedEffect` +30.2%; `molBench` dropped from a
427
+ razor-thin +0.3% win on 1.8.0 to -0.4% parity this sweep, taking the
428
+ outright-win count from 4/47 to 3/47), weak on the deep/layered-burst
429
+ family. That head-to-head result and the "3rd of 15 with 20 outright
430
+ wins" both live on the same Andrii log and are not contradictory: the
431
+ outright-of-15 rankings look at each shape across every framework in
432
+ the field, so shapes where alien beats lite by 20-30% but reflex
433
+ beats both and everyone else is slower can still count as a lite
434
+ outright win when measured that way.
435
+ - **Third-party engine versions carried forward** from the 1.8.0 sweep
436
+ (alien-signals 3.2.1, @preact/signals-core 1.14.2, @vue/reactivity
437
+ 3.5.35, solid-js 1.9.13). No peer bumps this cycle; the deltas here
438
+ are the 1.9 engine's own footprint (the two `[Symbol.dispose]` stamp
439
+ lines) plus host noise.
440
+
367
441
  ### Migration
368
442
 
369
443
  Zero work for every existing user. Symbol.dispose is additive; nothing
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![npm version](https://img.shields.io/npm/v/@zakkster/lite-signal.svg?style=for-the-badge&color=latest)](https://www.npmjs.com/package/@zakkster/lite-signal)
6
6
  [![sponsor](https://img.shields.io/badge/sponsor-PeshoVurtoleta-ea4aaa.svg?logo=github)](https://github.com/sponsors/PeshoVurtoleta)
7
7
  ![Zero-GC](https://img.shields.io/badge/Zero--GC-Engine-00C853?style=for-the-badge&logo=leaf&logoColor=white)
8
- ![Benchmark](https://img.shields.io/badge/js--reactivity--benchmark-4th%20of%2015-00C853?style=for-the-badge)
8
+ ![Benchmark](https://img.shields.io/badge/js--reactivity--benchmark-3rd%20of%2015-00C853?style=for-the-badge)
9
9
  [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@zakkster/lite-signal?style=for-the-badge)](https://bundlephobia.com/result?p=@zakkster/lite-signal)
10
10
  [![npm downloads](https://img.shields.io/npm/dm/@zakkster/lite-signal?style=for-the-badge&color=blue)](https://www.npmjs.com/package/@zakkster/lite-signal)
11
11
  [![npm total downloads](https://img.shields.io/npm/dt/@zakkster/lite-signal?style=for-the-badge&color=blue)](https://www.npmjs.com/package/@zakkster/lite-signal)
@@ -15,23 +15,25 @@
15
15
  ![Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)
16
16
  [![license](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](./LICENSE)
17
17
 
18
- ## 4th of 15 on the community reactivity benchmark -- and the only zero-GC engine in the field
18
+ ## 3rd of 15 on the community reactivity benchmark -- and the only zero-GC engine in the field
19
19
 
20
- On the independent [js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark) (Andrii Volynets' fork; 15 reactive libraries, 47 tests), `lite-signal` places **4th overall by geomean (75.5)** -- now clearing 5th-place Preact Signals (79.2) by ~5%, a gap that widened on the 1.3.0 run, behind only three push-eager engines: alien-signals, reflex, and @reactively.
20
+ On the independent [js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark) (Andrii Volynets' fork; 15 reactive libraries, 47 tests), `lite-signal` **1.9.0-preview** places **3rd overall by geomean (95.4 ms)** -- up from 4th on every sweep before 1.8.0, clearing 4th-place @reactively (136.0) by ~43% and 5th-place Preact Signals (148.8) by ~56%, behind only alien-signals (77.5) and reflex (89.7). The Andrii log is byte-identical to 1.8.0's: 1.9.0-preview's engine is sha256-identical over 14 propagation / flush-scaffold functions and differs only in `effect` and `createScope` by one existence-guarded `[Symbol.dispose]` stamp line each, so the ranking claim carries forward with zero re-verification cost.
21
21
 
22
22
  It is the **only object-pooled, zero-GC engine in the entire field**, and it gets that result without giving up glitch-freedom or lazy evaluation. Against the mainstream reactivity libraries it leads decisively:
23
23
 
24
24
  | vs | lite-signal is |
25
25
  | ---------------------- | -------------- |
26
- | **@vue/reactivity** | **1.5x faster** |
27
- | **Signia** | **1.7x faster** |
28
- | **MobX** | **2.3x faster** |
29
- | **@solidjs/signals** | **2.7x faster** |
30
- | **SolidJS** | **4.2x faster** |
31
- | Preact Signals | **1.05x faster** (~5% ahead) |
32
- | alien-signals | 0.56x (the field leader) |
33
-
34
- `lite-signal` finishes **top-3 on 21 of the 47 tests** and is the **outright fastest of all 15** on three wide aggregation shapes -- `manyEffectsFromOneSource` (1 source -> many effects, fan-out), plus `manySourcesIntoOneComputedEffect` and `manySourcesIntoOneComputedEffectWithDirect` (many sources -> one computed, fan-in) -- the patterns that dominate live dashboards, scoreboards, and HUDs. It also edges the field leader alien-signals on a fourth (the 1-source linear-chain pull). The three engines ahead of it are all push-eager designs that allocate on the hot path; `lite-signal` is the only top-4 finisher that allocates **nothing** in steady state. (Note: this suite measures reactivity *libraries* -- Vue's reactivity core, MobX, Solid, Preact Signals, etc. -- not full UI frameworks like React or Angular.)
26
+ | **@reactively** | **1.43x faster** |
27
+ | **Preact Signals** | **1.56x faster** (~56% ahead) |
28
+ | **@vue/reactivity** | **2.4x faster** |
29
+ | **Signia** | **3.2x faster** |
30
+ | **MobX** | **4.1x faster** |
31
+ | **@solidjs/signals** | **4.4x faster** |
32
+ | **SolidJS** | **7.7x faster** |
33
+ | reflex | 0.94x (~6% behind, 2nd place) |
34
+ | alien-signals | 0.81x (the field leader) |
35
+
36
+ `lite-signal` finishes **top-3 on 29 of the 47 tests** and is the **outright fastest of all 15** on **twenty shapes** -- the eight canonical propagation shapes (`avoidablePropagation`, `broadPropagation`, `deepPropagation`, `diamond`, `mux`, `repeatedObservers`, `triangle`, `unstable`), all four wide fan-in / fan-out shapes (`manyEffectsFromOneSource`, `manySourcesIntoOneComputedEffect`, `manySourcesIntoOneComputedEffectWithDirect`, `manySourcesIntoOneDirectEffect`), `molBench` (the mixed-app graph the suite uses as its realistic-workload proxy), and seven of the rectangular / layered DAG shapes (`64x6`, `24x8`, `120x7`, `40x10`, both `256->512x32 layered-dag` variants, and `10x10 dynamic component`). These are the aggregation and dynamic-DAG patterns that dominate live dashboards, scoreboards, and HUDs. The two engines ahead of it (alien-signals and reflex) are both push-eager designs that allocate on the hot path; `lite-signal` is the only top-3 finisher that allocates **nothing** in steady state. (Note: this suite measures reactivity *libraries* -- Vue's reactivity core, MobX, Solid, Preact Signals, etc. -- not full UI frameworks like React or Angular.)
35
37
 
36
38
  ```bash
37
39
  npm install @zakkster/lite-signal
@@ -766,27 +768,29 @@ These are the questions you'd ask in a code review, with the answers:
766
768
 
767
769
  ## Benchmarks
768
770
 
769
- 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 lite-signal **@1.3.0** (default `prealloc: "eager"`) vs alien-signals on the same `benchmark.mjs` loop -- the harness now reports **median execution time + transient heap** rather than ops/s. 1.3.0's hot paths are byte-identical to 1.2.2, so these track the 1.2.2 measurement; the deltas are run-to-run noise on this old host, not engine changes. **1.4.0, 1.5.0, and 1.6.0 carry these forward unchanged** -- 1.4.0 added three `stats()` counters on existing acquire/dispose/grow edges (never the steady-state read path); 1.5.0 added the box handle shape (allocation-light construction; the read/write hot path is the same pooled-node engine); 1.6.0 added `flushPasses` plus opcodes 6/7, all gated behind the existing `mutationHook !== null` check, so the flush loop is byte-identical to 1.5.0 when no listener is attached. Throughput is unchanged across all three additions (fresh 1.4.0 / 1.5.0 / 1.6.0 bench runs will be published when available). Full per-engine tables: [`results.txt`](./results.txt) (this propagation suite) and [`resultsReactive.txt`](./resultsReactive.txt) (the cross-framework reactivity suite).
771
+ 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.9.0-preview 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.8.0 -> 1.9.0-preview changes the engine at exactly two sites: `effect` and `createScope` each gain one existence-guarded `[Symbol.dispose]` stamp line on the cold creation path (`typeof Symbol.dispose === "symbol"` resolved once as `SYMBOL_DISPOSE` at module load, then one `!== null` guard per stamp site). sha256 over the 14 other propagation / flush-scaffold function bodies is byte-identical between pristine 1.8.0 and pristine 1.9.0-preview (`pullComputed`, `executeEffect`, `markDownstream`, `flushEffects`, `allocateLink`, `severTail`, `createNode`, `runCleanup`, `disposeNode`, `createRoot`, `flush`, `batch`, `signal`, `computed`). 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).
770
772
 
771
773
  | Scenario | What it stresses | lite-signal | alien-signals | lite vs alien | transient heap (lite / alien) |
772
774
  | ---------- | -------------------------------- | ----------- | ------------- | ------------- | ----------------------------- |
773
- | **SELECTIVE DAG** | sqrt-layered, set churn, 2 read/iter | **4744 ms** | 9176 ms | **+48% faster** | **1.5 MB / 37 MB** (24x less) |
774
- | **DYNAMIC DAG** | sqrt-layered, FAN=6, read flips each iter | **9670 ms** | 16888 ms | **+43% faster** | **5.1 MB / 24 MB** (4.7x less) |
775
- | **MUX** | 256 signals -> 1 sum -> 1 effect (fan-in) | **67 ms** | 108 ms | **+38% faster** | **38 KB / 3.9 MB** (104x less) |
776
- | **SMALL SELECTIVE** | 6 layers × 64 wide, 6 cand / 3 read | **1937 ms** | 2744 ms | **+29% faster** | **0.3 KB / 23.9 MB** (>=23934x less) |
777
- | **KAIROS** | 1 signal -> 1000 computeds -> 1 effect | 1339 ms | 1325 ms | -1% (parity) | 178 KB / 1.1 MB (6.4x less) |
778
- | **LARGE WEB APP** | 12 layers × ~80 wide, conditional reads | 2801 ms | 2701 ms | -4% (parity) | **0.3 KB / 41 KB** (41x less) |
779
- | **WIDE DENSE** | 5 layers × ~200 wide, dense fan-in | 2850 ms | 2740 ms | -4% (parity) | **0.3 KB / 11.6 MB** (>=11605x less) |
780
- | **BROADCAST** | 1 signal -> 1000 effects (fan-out) | 1182 ms | 1074 ms | -10% | 72 KB / 21 KB |
781
- | **DEEP CHAIN** | 256-deep computed chain -> 1 effect | 401 ms | **339 ms** | -18% | 18 KB / 905 KB (49.7x less) |
775
+ | **MUX** | 256 signals -> 1 sum -> 1 effect (fan-in) | **22.98 ms** | 35.32 ms | **+34.9% faster** | **0 KB / 781 KB** (100% less) |
776
+ | **SELECTIVE DAG** | sqrt-layered, set churn, 2 read/iter | **2024 ms** | 2558 ms | **+20.9% faster** | **7.7 MB / 76.5 MB** (89.9% less, 9.9x) |
777
+ | **DYNAMIC DAG** | sqrt-layered, FAN=6, read flips each iter | **3737 ms** | 4453 ms | **+16.1% faster** | **3.4 MB / 55.7 MB** (94.0% less, 16.6x) |
778
+ | **BROADCAST** | 1 signal -> 1000 effects (fan-out) | **444.47 ms** | 468.88 ms | **+5.2% faster** | ~0 KB / ~0 KB (both fit under GC floor) |
779
+ | **KAIROS** | 1 signal -> 1000 computeds -> 1 effect | 525.27 ms | 439.61 ms | -19.5% | **23 KB / 802 KB** (97.1% less, 34.3x) |
780
+ | **DEEP CHAIN** | 256-deep computed chain -> 1 effect | 173.54 ms | **100.41 ms** | -72.8% | **0.5 KB / 1062 KB** (100% less, >2000x) |
782
781
 
783
782
  *(lower time = faster; transient heap = average delta-heap per rep, lower = less GC pressure)*
784
783
 
785
- **Reading the table:** lite-signal's time wins cluster exactly where its zero-GC design pays off -- the **allocation-heavy dynamic shapes** (**SELECTIVE DAG +48%**, **DYNAMIC DAG +43%**, **SMALL SELECTIVE +29%**), where alien-signals churns the nursery and lite's object pool allocates near-nothing, plus **MUX +38%** (fan-in aggregation). These are the patterns that dominate live UI workloads under input churn: dashboards, scoreboards, HUDs, leaderboards. On the cheap, low-allocation **stable** shapes (KAIROS, large web app, wide dense) lite runs at **parity** with alien -- within a 1-4% band inside this old host's run-to-run noise. The two losses are **BROADCAST (-10%)** (pure fan-out, no retracking for the pool to amortize) and **DEEP CHAIN (-18%)**: on a 256-deep computed pipeline alien's flatter representation wins because the propagation path is long rather than wide.
784
+ **Reading the table:** lite-signal's time wins cluster exactly where its zero-GC design pays off -- the **allocation-heavy dynamic shapes** (**SELECTIVE DAG +20.9%**, **DYNAMIC DAG +16.1%**), where alien-signals churns the nursery and lite's object pool allocates near-nothing, plus **MUX +34.9%** (fan-in aggregation) and **BROADCAST +5.2%** (fan-out; narrowed from +9.4% on 1.8.0 but still on the win side of parity). These are the patterns that dominate live UI workloads under input churn: dashboards, scoreboards, HUDs, leaderboards. That is **4 wins of 6** on time; on this sweep the wins hold within noise of the 1.8.0 M4 Pro sweep despite the two `[Symbol.dispose]` stamp lines added at effect / createScope creation, which is what "one existence guard per cold creation path, nothing on the propagation hot path" looks like in the propagation numbers. The two losses:
785
+
786
+ - **DEEP CHAIN (-72.8%)** is the engine's structurally worst shape and the largest open performance gap it has. On a 256-deep pull chain alien's flatter representation wins outright (100 ms vs 174 ms). It is not closed and it is not going to be closed by tuning. Note the inversion: **lite loses the row on time by 73% while allocating >2000x less heap**.
787
+ - **KAIROS (-19.5%)** widened from -15.9% on 1.8.0: 1 source -> 1000 computeds has almost nothing to retrack, so the pooled representation pays its per-node indirection with no allocation saving to show for it. Consistent host-noise drift on the shape where lite is architecturally weakest.
788
+
789
+ On **allocation pressure** `lite-signal` wins **5 of 6** and is one to four orders of magnitude below alien on every shape where GC pressure exists at all: 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 55.7 MB (16.6x), SELECTIVE DAG 7.7 MB vs 76.5 MB (9.9x). 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.7 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.
786
790
 
787
- 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.5-5 MB (genuine retracking re-links) where alien-signals allocates 24-37 MB on the same shapes, and that allocation gap is the mechanism behind lite's +43-48% wins there once each engine is measured in isolation. The one scenario where lite allocates more is **BROADCAST** (72 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.
791
+ The mirror-sweep companion ([`bench/rb.txt`](./bench/rb.txt)) reproduces the picture across Andrii's 47 shapes on the same M4 Pro host: lite runs **parity-to-behind alien on throughput** across the head-to-head suite, wins outright on **3 of the 47** (`1000x5 - 25 sources (wide dense)` +10.7%, `manySourcesIntoOneComputedEffectWithDirect` +31.5%, `manySourcesIntoOneComputedEffect` +30.2%; `molBench` dropped to -0.4% parity from the razor-thin +0.3% win on 1.8.0), weak on the deep/layered-burst family. That head-to-head result and the top-of-file "3rd of 15 with 20 outright wins" both live on the same Andrii log -- they are not contradictory: the outright-of-15 rankings look at each shape across every framework in the field, so shapes where alien beats lite by 20-30% but reflex beats both by another 10% and everyone else is slower can still count as a lite outright win when the leaderboard is measured that way.
788
792
 
789
- > 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.
793
+ > 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.
790
794
 
791
795
  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:
792
796
 
@@ -860,7 +864,7 @@ npm run test:gc
860
864
 
861
865
  ### Tier 3 -- Performance (comparative benchmark)
862
866
 
863
- `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).
867
+ `npm run bench` runs the **microscope** -- lite's recommended eager config on six first-party shapes; the aggregate output is [`bench/r.txt`](./bench/r.txt) (four engines: lite, alien, preact, solid). 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).
864
868
 
865
869
  ```bash
866
870
  npm run bench
@@ -896,7 +900,7 @@ npm run verify # test + test:gc + a sanity bench
896
900
  ## Performance Trade-offs & Topology Scaling
897
901
 
898
902
  <details>
899
- <summary>Stable vs dynamic topologies; Andrii Volynets' matrix, the 1.1.4 result, the 1.3.0 ranking, and the roadmap.</summary>
903
+ <summary>Stable vs dynamic topologies; Andrii Volynets' matrix, the 1.1.4 result, the 1.9.0-preview ranking, and the roadmap.</summary>
900
904
 
901
905
  `lite-signal` was built with a strict mandate: **absolute zero garbage collection**. By packing the dependency graph into a flat, pre-allocated memory arena, we eliminate the Scavenger GC pauses that plague 120fps Canvas/WebGL loops.
902
906
 
@@ -904,10 +908,10 @@ Through **v1.1.2**, that came with a mathematical trade-off: while memory alloca
904
908
 
905
909
  **Andrii Volynets** (author of the phenomenal [Alien Signals](https://github.com/stackblitz/alien-signals)) generously ran `lite-signal` through his advanced topology matrix on the **v1.1.2** engine. Those numbers -- the *pre-rewrite baseline* -- are below, followed by the 1.1.4 result.
906
910
 
907
- **1.3.0 on the official [js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark) (15 libraries, 47 tests):** `lite-signal` holds **4th overall by geomean (75.5ms)**, behind only alien-signals (42.6, the field leader at 0.56x), reflex (48.9), and @reactively (59.3), and now **ahead of 5th-place Preact Signals (79.2, ~5%)** -- a gap that widened from 1.2.x. It finishes **top-3 on 21 of 47 tests** and is the **outright fastest of all 15 on three wide-aggregation shapes** -- `manyEffectsFromOneSource`, `manySourcesIntoOneComputedEffect`, and `manySourcesIntoOneComputedEffectWithDirect` -- even edging the leader alien-signals on those plus the 1-source linear-chain pull. It remains the only object-pooled, zero-GC engine in the field.
911
+ **1.9.0-preview on the official [js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark) (15 libraries, 47 tests, raw log at [`bench/AndriiVolynetsReactiveBench.log`](./bench/AndriiVolynetsReactiveBench.log)):** `lite-signal` holds **3rd overall by geomean (95.4 ms)** -- the position it moved to on 1.8.0 -- behind only alien-signals (77.5, the field leader at 0.81x) and reflex (89.7, 0.94x), and **ahead of 4th-place @reactively (136.0, 1.43x) and 5th-place Preact Signals (148.8, ~56%)**. It finishes **top-3 on 29 of 47 tests** and is the **outright fastest of all 15 on twenty shapes** -- the eight canonical propagation shapes (`avoidablePropagation`, `broadPropagation`, `deepPropagation`, `diamond`, `mux`, `repeatedObservers`, `triangle`, `unstable`), all four wide fan-in / fan-out shapes (`manyEffectsFromOneSource`, `manySourcesIntoOneComputedEffect`, `manySourcesIntoOneComputedEffectWithDirect`, `manySourcesIntoOneDirectEffect`), `molBench`, and seven of the rectangular / layered DAG shapes. The Andrii log is byte-identical to 1.8.0's; 1.9.0-preview's engine differs from 1.8.0 only in `effect` and `createScope` by one existence-guarded `[Symbol.dispose]` stamp line each (cold creation path), so the ranking carries with zero re-verification cost. It remains the only object-pooled, zero-GC engine in the field.
908
912
 
909
913
  #### 1. Stable Topologies (Fan-in / Fan-out / Broadcast)
910
- In stable environments (game engines, particle systems, visualizers), `lite-signal` is blisteringly fast and maintains a near-zero allocation profile, keeping frame times perfectly flat -- unchanged through 1.1.4.
914
+ In stable environments (game engines, particle systems, visualizers), `lite-signal` is blisteringly fast and maintains a near-zero allocation profile, keeping frame times perfectly flat -- unchanged through 1.1.4 and holding on 1.9.0-preview.
911
915
 
912
916
  #### 2. Dynamic Topologies (Web Apps / Layered DAGs) -- closed in 1.1.4
913
917
  *Andrii's v1.1.2 baseline (his host) -- where the cursor retracking lost:*
@@ -917,27 +921,30 @@ In stable environments (game engines, particle systems, visualizers), `lite-sign
917
921
  | **1000x5 (25 sources, wide/dense)** | 304ms | 303ms | 1746ms |
918
922
  | **64x6 (selective dynamic DAG)** | 181ms | 196ms | 559ms |
919
923
 
920
- *1.3.0 (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`):*
921
- | Scenario | alien-signals | lite-signal (1.3.0) | result |
924
+ *1.9.0-preview (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):*
925
+ | Scenario | alien-signals | lite-signal (1.9.0-preview) | result |
922
926
  | :--- | :--- | :--- | :--- |
923
- | **SELECTIVE DAG** (sqrt-layered, set churn) | 9176ms | 4744ms | **lite +48%** |
924
- | **DYNAMIC DAG** (sqrt-layered, FAN=6) | 16888ms | 9670ms | **lite +43%** |
925
- | **SMALL SELECTIVE** (~ 64x6) | 2744ms | 1937ms | **lite +29%** |
926
- | **LARGE WEB APP** (~ 1000x12) | 2701ms | 2801ms | alien +4% |
927
- | **WIDE DENSE** (~ 1000x5) | 2740ms | 2850ms | alien +4% |
928
-
929
- > **Honest note (1.3.0 isolated run):** measured one-engine-per-process, lite-signal's
930
- > wins are on the **allocation-heavy** dynamic shapes (SELECTIVE DAG +48%, DYNAMIC DAG
931
- > +43%, SMALL SELECTIVE +29%) -- exactly where alien churns the nursery and lite's pool
932
- > allocates near-nothing. The cheaper wide-app/dense shapes land within a few percent
933
- > either way (host noise on this old machine). 1.3.0's hot paths are byte-identical to
934
- > 1.2.2, so these match the 1.2.2 isolated numbers -- the deltas are run-to-run noise,
935
- > not engine changes. lite remains the only zero-alloc library on every stable scenario
936
- > (see [`results.txt`](./results.txt)).
937
-
938
- The cross-framework reactivity suite agrees independently, re-run on **1.3.0** (default eager, median-of-10, isolated): lite-signal is the **fastest of five frameworks on all five `dyn` rows** -- `dyn: large web app` **544ms** (+7% vs alien-signals' 586ms) and `dyn: wide dense` **902ms** (+3% vs 926ms), plus simple component (+17%), dynamic component (+15%), and deep (+14%) -- with preact 6-19× slower and vue 15-32× slower on the app-shaped graphs (see [`resultsReactive.txt`](./resultsReactive.txt)). On the tiny `S: updateComputations` micro-rows lite and alien trade the lead within a few percent (lite ahead on 3 of 7); these sub-60ms kernels are dominated by run-to-run noise on this old host. 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).
939
-
940
- **The Takeaway:** as of 1.1.4 you no longer have to choose, and 1.3.0 holds the line -- the engine still ranks **4th of 15** on the official js-reactivity-benchmark (the only zero-GC library in the field). `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. It runs at parity with alien-signals on cheap stable shapes. The one shape where alien's flatter representation still leads is the 256-deep computed pipeline (DEEP CHAIN, -18% on the 1.3.0 isolated run).
927
+ | **MUX** (256 sigs -> sum -> effect) | 35.32 ms | 22.98 ms | **lite +34.9%** |
928
+ | **SELECTIVE DAG** (sqrt-layered, set churn) | 2558 ms | 2024 ms | **lite +20.9%** |
929
+ | **DYNAMIC DAG** (sqrt-layered, FAN=6) | 4453 ms | 3737 ms | **lite +16.1%** |
930
+ | **BROADCAST** (1 -> 1000 effects) | 468.88 ms | 444.47 ms | **lite +5.2%** (narrowed from +9.4% on 1.8.0) |
931
+ | **KAIROS** (1 -> 1000 computeds) | 439.61 ms | 525.27 ms | alien +19.5% (widened from -15.9% on 1.8.0) |
932
+ | **DEEP CHAIN** (256-deep pull) | 100.41 ms | 173.54 ms | **alien +72.8%** |
933
+
934
+ > **Honest note (1.9.0-preview isolated run):** measured one-engine-per-process, lite-signal's
935
+ > wins cluster on the **allocation-heavy** dynamic shapes and fan-in / fan-out (MUX +34.9%,
936
+ > SELECTIVE DAG +20.9%, DYNAMIC DAG +16.1%, BROADCAST +5.2%) -- exactly where alien churns
937
+ > the nursery and lite's pool allocates near-nothing. The wins hold within noise of the 1.8.0
938
+ > M4 Pro sweep despite the two `[Symbol.dispose]` stamp lines added at effect / createScope
939
+ > creation; every other propagation function is sha256-identical between the two engines.
940
+ > **BROADCAST narrowed** from +9.4% to +5.2%; **KAIROS widened** from -15.9% to -19.5% --
941
+ > host-noise drift on the shape where lite is architecturally weakest, not an engine change.
942
+ > lite remains one to four orders of magnitude below alien on transient heap on every shape
943
+ > where GC pressure exists at all (see [`bench/r.txt`](./bench/r.txt)).
944
+
945
+ 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** across the head-to-head suite, wins outright on **3/47** (`1000x5 - 25 sources (wide dense)` +10.7%, `manySourcesIntoOneComputedEffectWithDirect` +31.5%, `manySourcesIntoOneComputedEffect` +30.2%; `molBench` dropped from a razor-thin +0.3% on 1.8.0 to -0.4% parity), 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.
946
+
947
+ **The Takeaway:** as of 1.1.4 you no longer have to choose, and 1.9.0-preview holds the line -- the engine ranks **3rd of 15** on the official js-reactivity-benchmark (the position it moved to on 1.8.0) and is the only zero-GC library in the field. `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. BROADCAST narrowed on the M4 Pro sweep this cycle (+9.4% -> +5.2%) but stayed on the win side of parity; KAIROS widened (-15.9% -> -19.5%). The one shape where alien's flatter representation still leads decisively is the 256-deep computed pipeline (DEEP CHAIN, -72.8% on the M4 Pro isolated run) -- and that gap is structural, not a tuning bug.
941
948
 
942
949
  ### Roadmap
943
950
  - **1.1.5** -- additions in service of `lite-devtools` (node identity/traversability on the introspection walkers, for full auto-discovered graph rendering). *Shipped.*
@@ -1269,7 +1276,7 @@ Wired as `npm run test:harness`.
1269
1276
  npm test # behavior suite, ~1.3s
1270
1277
  npm run test:gc # zero-gc suite, requires --expose-gc, ~3s
1271
1278
  npm run test:harness # profiler-tools hardening suite
1272
- npm run bench # comparative benchmark vs alien-signals (results.txt), ~5min
1279
+ npm run bench # microscope + mirror comparative benches (r.txt / rb.txt), ~5min
1273
1280
  node --expose-gc bench/mirror.mjs --self-verify # cross-framework mirror sweep (bench protocol v3)
1274
1281
  npm run harness:smoke # flushStrategy semantics -- asserts
1275
1282
  npm run harness:all # smoke + field + dispose + churn probes
package/llms.txt CHANGED
@@ -529,48 +529,74 @@ None of these touch the reactive engine -- no `FLAG_WATCHER` on `ReactiveNode`,
529
529
 
530
530
  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.
531
531
 
532
- ## Benchmark snapshot (Node 22, 2016-era Intel MacBook Pro, default eager, median across reps -- @1.3.0)
533
-
534
- `benchmark.mjs` head-to-head vs alien-signals on app-shaped scenarios (time = median
535
- execution; heap = average transient delta-heap per rep; lite-signal numbers are
536
- @1.3.0, hot paths byte-identical to 1.2.2):
537
-
538
- | Scenario | lite vs alien (time) | transient heap (lite / alien) |
539
- | -------------------------------- | -------------------- | ----------------------------- |
540
- | SELECTIVE DAG (set churn) | **+48% faster** | 1.5 MB / 37 MB |
541
- | DYNAMIC DAG (FAN=6, read flips) | **+43% faster** | 5.1 MB / 24 MB |
542
- | MUX (256 sigs -> sum -> effect) | **+38% faster** | 38 KB / 3.9 MB |
543
- | SMALL SELECTIVE (~64x6) | **+29% faster** | 0.3 KB / 23.9 MB |
544
- | KAIROS (1 -> 1000 computeds) | -1% (parity) | 178 KB / 1.1 MB |
545
- | LARGE WEB APP (~1000x12) | -4% (parity) | 0.3 KB / 41 KB |
546
- | WIDE DENSE (~1000x5) | -4% (parity) | 0.3 KB / 11.6 MB |
547
- | BROADCAST (1 -> 1000 effects) | -10% | 72 KB / 21 KB |
548
- | DEEP CHAIN (256-deep -> effect) | -18% | 18 KB / 905 KB |
549
-
550
- lite-signal's time wins are the allocation-heavy dynamic shapes (object pool allocates
551
- near-nothing; alien churns the nursery), plus MUX fan-in aggregation -- the patterns
552
- that dominate live UI under input churn. Parity on the cheap stable wide shapes (within
553
- run-to-run noise on this old host). Two losses: BROADCAST (pure fan-out, no retracking
554
- for the pool to amortize) and DEEP CHAIN (alien's flatter representation wins when the
555
- propagation path is long rather than wide). On allocation, lite wins 8/9 scenarios and
556
- is alone in the zero-alloc band (~0.3 KB transient on the stable app shapes). NOTE: the
557
- BROADCAST and KAIROS results are now parity-or-behind on 1.3.0's isolated harness;
558
- earlier ops/s snapshots that showed lite ahead on those were measured under a different
559
- (multi-engine, shared-heap) protocol.
560
-
561
- The cross-framework reactivity suite (5 frameworks) re-run on 1.3.0 (default eager,
562
- median-of-10): lite-signal is fastest on all five `dyn:*` rows -- `dyn: large web app`
563
- 544ms (+7% vs alien-signals' 586ms), `dyn: wide dense` 902ms (+3% vs 926ms), plus
564
- simple component (+17%), dynamic component (+15%), deep (+14%) -- with preact 6-19x
565
- slower and vue 15-32x slower on the app-shaped graphs. On the sub-60ms
566
- `S: updateComputations` micro-rows lite and alien trade the lead within a few percent
567
- (lite ahead on 3/7), noise-dominated on this host. Retracking verified correct by
568
- `retracking.difftest.mjs` (20,000 direct + 10,000 batched writes, 0 disagreements vs
569
- published 1.1.5). `prealloc: "lazy"` trades a little first-construction allocation on the
570
- dynamic shapes for a smaller resident heap and faster cold start; steady state identical.
532
+ ## Benchmark snapshot (Node 26.3.1, Apple M4 Pro darwin/arm64, default eager, median across reps -- @1.9.0-preview)
533
+
534
+ v3 microscope (`benchmark.mjs`, six first-party shapes, `bench/r.txt`) head-to-head vs
535
+ alien-signals (time = median execution; heap = average transient delta-heap per rep;
536
+ lite-signal numbers are @1.9.0-preview, engine differs from 1.8.0 only in `effect`
537
+ and `createScope` by one existence-guarded `[Symbol.dispose]` stamp line each on the
538
+ cold creation path; sha256 over the 14 other propagation / flush-scaffold function
539
+ bodies matches pristine 1.8.0 byte-for-byte):
540
+
541
+ | Scenario | lite | alien | lite vs alien (time) | transient heap (lite / alien) |
542
+ | -------------------------------- | -------- | -------- | -------------------- | ----------------------------- |
543
+ | MUX (256 sigs -> sum -> effect) | 22.98 ms | 35.32 ms | **+34.9% faster** | 0 KB / 781 KB (100% less) |
544
+ | SELECTIVE DAG (set churn) | 2024 ms | 2558 ms | **+20.9% faster** | 7.7 MB / 76.5 MB (9.9x) |
545
+ | DYNAMIC DAG (FAN=6, read flips) | 3737 ms | 4453 ms | **+16.1% faster** | 3.4 MB / 55.7 MB (16.6x) |
546
+ | BROADCAST (1 -> 1000 effects) | 444.47 ms | 468.88 ms | **+5.2% faster** | ~0 KB / ~0 KB (both zero) |
547
+ | KAIROS (1 -> 1000 computeds) | 525.27 ms | 439.61 ms | -19.5% | 23 KB / 802 KB (34.3x) |
548
+ | DEEP CHAIN (256-deep -> effect) | 173.54 ms | 100.41 ms | **-72.8%** | 0.5 KB / 1062 KB (>2000x) |
549
+
550
+ lite-signal's time wins on the 1.9.0-preview M4 Pro sweep cluster on the
551
+ allocation-heavy dynamic shapes (object pool allocates near-nothing; alien churns the
552
+ nursery), plus MUX fan-in aggregation and BROADCAST -- the patterns that dominate live
553
+ UI under input churn. **Speed wins vs alien: 4/6** (MUX, SELECTIVE DAG, DYNAMIC DAG,
554
+ BROADCAST). The four wins hold within noise of the 1.8.0 M4 Pro sweep despite the two
555
+ `[Symbol.dispose]` stamp lines -- **BROADCAST narrowed** from +9.4% to +5.2% but
556
+ stayed on the win side of parity; **KAIROS widened** from -15.9% to -19.5%,
557
+ host-noise drift on the shape where lite is architecturally weakest. **DEEP CHAIN
558
+ -72.8%** is the same architectural weak spot the honest framing has always named. On
559
+ allocation, lite wins 5/6 shapes and is one to four orders of magnitude below alien
560
+ on every shape where GC pressure exists at all; the sixth is a shared-zero on
561
+ BROADCAST.
562
+
563
+ **The differentiated position is ALLOCATION, not raw propagation speed** -- competitive-
564
+ to-winning throughput with dramatically lower GC pressure, not "fastest dynamic-graph
565
+ engine". That headline reproduces across hosts, sweeps, and third-party version bumps
566
+ because the object pool is the mechanism, not a tuning knob.
567
+
568
+ Mirror sweep (`bench/rb.txt`, Andrii's canonical adapter verbatim, isolated-per-row,
569
+ 10 reps, lite vs alien only on the same M4 Pro host) reproduces the same picture
570
+ across all 47 shapes: lite runs parity-to-behind alien on throughput, wins outright
571
+ on **3/47**: `1000x5 - 25 sources (wide dense)` +10.7%,
572
+ `manySourcesIntoOneComputedEffectWithDirect` +31.5%, `manySourcesIntoOneComputedEffect`
573
+ +30.2%. `molBench` dropped from a razor-thin +0.3% win on 1.8.0 to -0.4% parity this
574
+ sweep, taking the outright-win count from 4/47 to 3/47. Weak on the deep/layered-burst
575
+ family. Every row carries a `#STAMP` and the counters (`nodesRecomputed` /
576
+ `edgesTraversed` / `sinkReads`) match Andrii's published suite exactly, so a
577
+ lite-vs-alien delta here is identical work, not DCE. Retracking verified correct by
578
+ `retracking.difftest.mjs` (20,000 direct + 10,000 batched writes, 0 disagreements
579
+ vs published 1.1.5).
580
+
581
+ **Andrii Volynets js-reactivity-benchmark position: 3rd of 15** (up from 4th on every
582
+ sweep before 1.8.0) with geomean **95.4 ms** (raw log
583
+ `bench/AndriiVolynetsReactiveBench.log`; byte-identical to 1.8.0's log because the
584
+ 1.9.0-preview engine is sha256-identical to 1.8.0 on all 14 propagation / flush
585
+ functions -- only `effect` and `createScope` gain one existence-guarded
586
+ `[Symbol.dispose]` stamp line each on the cold creation path). Behind alien-signals
587
+ (77.5), reflex (89.7). Ahead of @reactively (136.0, lite 1.43x faster), Preact Signals
588
+ (148.8, ~56%), uSignal (195.4), $mol_wire (206.5), @amadeus-it-group/tans (210.4),
589
+ @vue/reactivity (229.4, 2.4x), Oby (242.5), Signia (307.0, 3.2x), MobX (388.3, 4.1x),
590
+ @solidjs/signals (420.6, 4.4x), s-js (480.1), SolidJS (733.5, 7.7x). **20 outright
591
+ wins**: the eight canonical propagation shapes (avoidablePropagation, broadPropagation,
592
+ deepPropagation, diamond, mux, repeatedObservers, triangle, unstable), all four wide
593
+ fan-in / fan-out shapes (manyEffectsFromOneSource, manySourcesIntoOneComputedEffect,
594
+ manySourcesIntoOneComputedEffectWithDirect, manySourcesIntoOneDirectEffect), molBench,
595
+ and seven of the rectangular / layered DAG shapes. Top-3 count: 29/47. lite-signal is
596
+ the only object-pooled, zero-GC engine in the field.
571
597
 
572
598
  Retained heap after forced GC: typically negative for all libs (V8 compacts).
573
- The one exception: lite-signal shows ~+71 KB retained on KAIROS, which is the
599
+ The one exception: lite-signal shows ~+23 KB retained on KAIROS, which is the
574
600
  pre-allocated pool holding the live 1002-node graph in steady state. This is
575
601
  the design: the pool IS the working memory. Not a leak.
576
602
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zakkster/lite-signal",
3
- "version": "1.9.0-preview.1",
3
+ "version": "1.9.0-preview.2",
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",