@zakkster/lite-signal 1.6.0-alpha.1 → 1.6.0-alpha.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.
- package/CHANGELOG.md +18 -0
- package/README.md +3 -2
- package/llms.txt +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,24 @@ This project follows [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
### Removed -- `bench-reactive-legacy` (deprecated in 1.5.0)
|
|
10
|
+
|
|
11
|
+
The pre-v3 five-framework reactivity suite is removed, per the 1.5.0 deprecation
|
|
12
|
+
(one-release window through 1.5.1). Cross-framework standing comes from the bench
|
|
13
|
+
protocol v3 **mirror** (`bench/mirror.mjs --self-verify` + `bench/sweep.mjs`).
|
|
14
|
+
|
|
15
|
+
### Changed -- bench protocol v3 (carried forward)
|
|
16
|
+
|
|
17
|
+
The `bench/` harness is bench protocol v3: three instruments (microscope / mirror /
|
|
18
|
+
version-economics), each with a fixed config and a machine-generated `#STAMP`
|
|
19
|
+
(engine + harness sha256, live registry config, host, node). See `bench/README.md`.
|
|
20
|
+
|
|
21
|
+
### Added -- Coveralls coverage badge
|
|
22
|
+
|
|
23
|
+
README carries a Coveralls badge; lcov is produced by `npm run test:report`
|
|
24
|
+
(`coveralls-next` in devDependencies).
|
|
25
|
+
|
|
26
|
+
|
|
9
27
|
### Fixed -- dangling re-tracking cursor on source disposal (crash)
|
|
10
28
|
|
|
11
29
|
Disposing a signal/computed from inside an observer that had linked it on the
|
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
[](https://bundlephobia.com/result?p=@zakkster/lite-signal)
|
|
10
10
|
[](https://www.npmjs.com/package/@zakkster/lite-signal)
|
|
11
11
|
[](https://www.npmjs.com/package/@zakkster/lite-signal)
|
|
12
|
+
[](https://coveralls.io/github/PeshoVurtoleta/lite-signal?branch=main)
|
|
12
13
|

|
|
13
14
|

|
|
14
15
|

|
|
@@ -840,7 +841,7 @@ npm run test:gc
|
|
|
840
841
|
|
|
841
842
|
### Tier 3 -- Performance (comparative benchmark)
|
|
842
843
|
|
|
843
|
-
`npm run bench` runs the
|
|
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).
|
|
844
845
|
|
|
845
846
|
```bash
|
|
846
847
|
npm run bench
|
|
@@ -1312,7 +1313,7 @@ Yes, if your computeFn reads its deps in the same order each invocation. The `cu
|
|
|
1312
1313
|
npm test # behavior suite, ~1.3s
|
|
1313
1314
|
npm run test:gc # zero-gc suite, requires --expose-gc, ~3s
|
|
1314
1315
|
npm run bench # comparative benchmark vs alien-signals (results.txt), ~5min
|
|
1315
|
-
|
|
1316
|
+
node --expose-gc bench/mirror.mjs --self-verify # cross-framework mirror sweep (bench protocol v3)
|
|
1316
1317
|
npm run harness:field # verify + cold-child A/B bench (fieldkit)
|
|
1317
1318
|
npm run harness:all # field + dispose + churn probes, in sequence
|
|
1318
1319
|
npm run profile:burst # 1.6 burst/flush characterization harness
|
package/llms.txt
CHANGED
|
@@ -191,6 +191,7 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
|
|
|
191
191
|
5% rolling / 10% floor, `frame.p99` and `phase.write.p99` 18% / 30%), four
|
|
192
192
|
workloads mapping to public bench claims -- carries forward from 1.4.0. Wired
|
|
193
193
|
as `prepublishOnly`.
|
|
194
|
+
**Bench harness (protocol v3):** rebuilt around three fixed-config instruments -- microscope (`benchmark.mjs`, recommended eager config, six first-party shapes), mirror (`mirror.mjs` + `sweep.mjs`, Andrii's canonical adapter verbatim, rows diff 1:1 against his log), version-economics (`harness/toe-to-toe`) -- each output carrying a machine-generated `#STAMP` (engine + harness sha256, live registry config, host, node). Pre-v3 five-framework suite removed after 1.5.1. Methodology in `bench/README.md`.
|
|
194
195
|
**Bench position** (third-party
|
|
195
196
|
[js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark),
|
|
196
197
|
15 frameworks, 47 tests; fresh 1.5.0-beta run, raw log
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zakkster/lite-signal",
|
|
3
|
-
"version": "1.6.0-alpha.
|
|
3
|
+
"version": "1.6.0-alpha.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",
|