@zakkster/lite-signal 1.4.0-beta.0 → 1.4.0-beta.1
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.
- package/CHANGELOG.md +9 -10
- package/llms.txt +23 -19
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -62,7 +62,7 @@ as before (the reset keeps the arena warm); only the cumulative counts reset.
|
|
|
62
62
|
|
|
63
63
|
### Verified
|
|
64
64
|
|
|
65
|
-
- **Full suite green** against the 1.4.0 engine:
|
|
65
|
+
- **Full suite green** against the 1.4.0 engine: 429 tests, 419 pass, 0 fail,
|
|
66
66
|
10 skip. The 10 skips are the 9 `{skip:true}` `signalBox` tests in `24-signalbox`
|
|
67
67
|
(staged for 1.5.0) plus 1 architecturally-N/A SSR case in `17-reactivity`. The
|
|
68
68
|
eager-default and the counter additions changed no existing test outcome; 6 new
|
|
@@ -78,12 +78,12 @@ as before (the reset keeps the arena warm); only the cumulative counts reset.
|
|
|
78
78
|
- **Zero-GC steady state holds**: the counters bump only on acquire / dispose /
|
|
79
79
|
grow, none of which occur on the steady-state write path after warm-up. Writing
|
|
80
80
|
through a built graph allocates nothing and moves no counter.
|
|
81
|
-
- **`stats()` shape** is now the authoritative 11-key 1.4.x shape
|
|
82
|
-
|
|
83
|
-
(the 1.2.x/1.3.0
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
- **`stats()` shape** is now the authoritative 11-key 1.4.x shape, pinned by a
|
|
82
|
+
new shape-and-initial-zeros test in `03-pool` -- the first explicit pin for
|
|
83
|
+
the `stats()` surface (the 1.2.x / 1.3.0 entries described the absence of the
|
|
84
|
+
counters in prose; 1.4.0 codifies the new shape as a test assertion).
|
|
86
85
|
|
|
86
|
+
## [1.3.0] -- 2026-06-XX
|
|
87
87
|
|
|
88
88
|
The pool minor: the node and link pools become **growable and incrementally
|
|
89
89
|
populated**, the propagation mark phase moves to an **intrusive linked-list
|
|
@@ -161,7 +161,7 @@ in 1.3.0.
|
|
|
161
161
|
|
|
162
162
|
### Verified
|
|
163
163
|
|
|
164
|
-
- **Full suite green** against the 1.3.0 engine:
|
|
164
|
+
- **Full suite green** against the 1.3.0 engine: 423 tests, 413 pass, 0 fail,
|
|
165
165
|
10 skip (9 signalBox-staged-for-1.5.0 in `24-signalbox` plus 1 architecturally-N/A
|
|
166
166
|
SSR case in `17-reactivity`). The eager-default flip changed no test outcome.
|
|
167
167
|
- **Behavior-preservation difftest**: 20,000 direct + 10,000 batched writes
|
|
@@ -173,10 +173,9 @@ in 1.3.0.
|
|
|
173
173
|
scenarios.
|
|
174
174
|
- **`stats()` shape unchanged from 1.2.x** (8 keys). The cumulative allocation
|
|
175
175
|
counters (`totalAllocations` / `totalDisposals` / `poolGrowths`) remain
|
|
176
|
-
reserved for 1.4.0 and are still absent here
|
|
177
|
-
test continues to pin their absence.
|
|
178
|
-
|
|
176
|
+
reserved for 1.4.0 and are still absent here.
|
|
179
177
|
|
|
178
|
+
## [1.2.2] -- 2026-06-14
|
|
180
179
|
|
|
181
180
|
A code-deletion ship: a `createNode` audit removes ten redundant field-writes
|
|
182
181
|
that defended against a state the engine cannot produce on a clean free-list.
|
package/llms.txt
CHANGED
|
@@ -68,7 +68,7 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
|
|
|
68
68
|
rate (delta totalAllocations / delta t), pool-reuse ratio
|
|
69
69
|
(1 - poolGrowths*initialCap/totalAllocations), and churn without the engine
|
|
70
70
|
computing rates -- the series lite-devtools 1.2 / lite-studio 1.2 plot. **Tests:**
|
|
71
|
-
|
|
71
|
+
429 total, 419 pass, 0 fail, 10 skip (6 new counter tests in `test/03-pool_test.mjs`
|
|
72
72
|
cover the 11-key shape, the live invariant, poolGrowths firing on growth vs staying
|
|
73
73
|
0 on a sized eager pool, and destroy() reset). **Coverage:** `Signal.js` 100%
|
|
74
74
|
statements / 98.26% branches / 100% functions / 100% lines; `Watch.js` 100%.
|
|
@@ -105,7 +105,7 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
|
|
|
105
105
|
`activeNodes`, `activeLinks`, `pooledLinks`, `nodePoolCapacity`,
|
|
106
106
|
`linkPoolCapacity`); the capacity keys are ledgers under `"lazy"`. Cumulative
|
|
107
107
|
allocation counters (`totalAllocations` / `totalDisposals` / `poolGrowths`) remain
|
|
108
|
-
reserved for 1.4.0 and are still absent. **Tests:**
|
|
108
|
+
reserved for 1.4.0 and are still absent. **Tests:** 423 total, 413 pass, 0 fail,
|
|
109
109
|
10 skip (the 10 skips are 9 signalBox-staged-for-1.5.0 in
|
|
110
110
|
`test/24-signalbox_test.mjs` plus 1 architecturally-N/A SSR case in
|
|
111
111
|
`17-reactivity`); 4 new pool tests in `test/03-pool_test.mjs` cover the lazy
|
|
@@ -115,6 +115,26 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
|
|
|
115
115
|
preservation difftest: 20,000 direct + 10,000 batched writes vs the published
|
|
116
116
|
1.1.5 reference, 0 disagreements -- pool growth, chunked refill, and the intrusive
|
|
117
117
|
mark stack do not alter observable propagation. Drop-in over 1.2.2.
|
|
118
|
+
**Bench position** (third-party
|
|
119
|
+
[js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark),
|
|
120
|
+
15 frameworks, 47 tests): #4 by geomean (75.5) at 1.77x behind alien-signals
|
|
121
|
+
(1.00x), reflex (1.15x), @reactively (1.39x); now ahead of 5th-place Preact
|
|
122
|
+
Signals (79.2, lite ~5% ahead -- the gap widened from 1.2.x). The only
|
|
123
|
+
object-pooled zero-GC engine in the field. Ahead of @vue/reactivity (1.5x),
|
|
124
|
+
Signia (1.7x), MobX (2.3x), @solidjs/signals (2.7x), SolidJS (4.2x). Top-3 on
|
|
125
|
+
21/47 tests; outright winner on `manyEffectsFromOneSource`,
|
|
126
|
+
`manySourcesIntoOneComputedEffect`, and
|
|
127
|
+
`manySourcesIntoOneComputedEffectWithDirect` (and edges the leader alien on a
|
|
128
|
+
fourth, the 1-source linear-chain pull). (The suite measures reactivity
|
|
129
|
+
libraries -- Vue reactivity core, MobX, Solid, Preact Signals -- not full UI
|
|
130
|
+
frameworks like React/Angular.)
|
|
131
|
+
In the community reactive suite (median-of-10), fastest of 5 frameworks
|
|
132
|
+
on the entire `dyn:*` family (the realistic large-DOM-framework shapes)
|
|
133
|
+
and the entire `S: updateComputations*` family. Behind on the
|
|
134
|
+
construction-cost path (`S: createComputations*`, `cellx`, `createDataSignals`).
|
|
135
|
+
1.4.0 carries these numbers forward unchanged on hot paths (only added the
|
|
136
|
+
three `stats()` counters, all on existing acquire/dispose/grow edges); a fresh
|
|
137
|
+
1.4.0 bench run will be published when available.
|
|
118
138
|
|
|
119
139
|
- **1.2.2**: `createNode` clean-free-list invariant audit. Removes
|
|
120
140
|
ten redundant field-writes that defended against a state the engine cannot
|
|
@@ -145,23 +165,7 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
|
|
|
145
165
|
Version lineage:
|
|
146
166
|
this is the engine previously labeled `1.2.3` in dev -- renumbered to
|
|
147
167
|
`1.2.2` because the deletion is small, isolated, and intentionally
|
|
148
|
-
non-behavioral. Drop-in over 1.2.1.
|
|
149
|
-
[js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark),
|
|
150
|
-
15 frameworks, 47 tests): #4 by geomean (75.5) at 1.77x behind alien-signals
|
|
151
|
-
(1.00x), reflex (1.15x), @reactively (1.39x); now ahead of 5th-place Preact
|
|
152
|
-
Signals (79.2, lite ~5% ahead -- the gap widened from 1.2.x). The only
|
|
153
|
-
object-pooled zero-GC engine in the field. Ahead of @vue/reactivity (1.5x),
|
|
154
|
-
Signia (1.7x), MobX (2.3x), @solidjs/signals (2.7x), SolidJS (4.2x). Top-3 on
|
|
155
|
-
21/47 tests; outright winner on `manyEffectsFromOneSource`,
|
|
156
|
-
`manySourcesIntoOneComputedEffect`, and
|
|
157
|
-
`manySourcesIntoOneComputedEffectWithDirect` (and edges the leader alien on a
|
|
158
|
-
fourth, the 1-source linear-chain pull). (The suite measures reactivity
|
|
159
|
-
libraries -- Vue reactivity core, MobX, Solid, Preact Signals -- not full UI
|
|
160
|
-
frameworks like React/Angular.)
|
|
161
|
-
In the community reactive suite (median-of-10), fastest of 5 frameworks
|
|
162
|
-
on the entire `dyn:*` family (the realistic large-DOM-framework shapes)
|
|
163
|
-
and the entire `S: updateComputations*` family. Behind on the
|
|
164
|
-
construction-cost path (`S: createComputations*`, `cellx`, `createDataSignals`).
|
|
168
|
+
non-behavioral. Drop-in over 1.2.1.
|
|
165
169
|
|
|
166
170
|
- **1.2.1**: correctness-and-introspection patch. Drop-in over 1.2.0;
|
|
167
171
|
no public surface removed. **Stale-handle introspection (ABA fix):** the v1.2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zakkster/lite-signal",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.1",
|
|
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",
|