@zakkster/lite-signal 1.5.0-beta.5 → 1.5.0-beta.6
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 +23 -0
- package/README.md +3 -2
- package/llms.txt +1 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,29 @@ This project follows [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
### Changed -- benchmark harness rewritten (bench protocol v3, breaking)
|
|
10
|
+
|
|
11
|
+
`bench/` is rebuilt around three instruments with fixed, non-shared configs and a
|
|
12
|
+
machine-generated `#STAMP` on every output (engine + harness sha256, the live
|
|
13
|
+
registry config echoed from the same frozen object handed to `createRegistry`,
|
|
14
|
+
host, node): the **microscope** (`benchmark.mjs` -- lite's recommended eager config
|
|
15
|
+
on six first-party shapes), the **mirror** (`mirror.mjs` + `sweep.mjs` -- Andrii's
|
|
16
|
+
canonical adapter verbatim, cross-framework rows diffing 1:1 against his log), and
|
|
17
|
+
**version economics** (`harness/toe-to-toe`). Hand-written result headers are
|
|
18
|
+
abolished; nothing is publishable without a `#STAMP`. See `bench/README.md`.
|
|
19
|
+
|
|
20
|
+
### Deprecated -- `bench-reactive-legacy`
|
|
21
|
+
|
|
22
|
+
The pre-v3 five-framework reactivity suite (`benchmarkReactive.mjs`) is retained one
|
|
23
|
+
release as `bench-reactive-legacy` and will be **removed after 1.5.1**. Use the
|
|
24
|
+
mirror for cross-framework standing.
|
|
25
|
+
|
|
26
|
+
### Added -- Coveralls coverage badge
|
|
27
|
+
|
|
28
|
+
README carries a Coveralls badge; lcov is produced by `npm run test:report`
|
|
29
|
+
(`coveralls-next` in devDependencies).
|
|
30
|
+
|
|
31
|
+
|
|
9
32
|
### Fixed -- dangling re-tracking cursor on source disposal (crash)
|
|
10
33
|
|
|
11
34
|
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
|

|
|
@@ -816,7 +817,7 @@ npm run test:gc
|
|
|
816
817
|
|
|
817
818
|
### Tier 3 -- Performance (comparative benchmark)
|
|
818
819
|
|
|
819
|
-
`npm run bench` runs the
|
|
820
|
+
`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 is retained one release as `bench-reactive-legacy` (**deprecated -- removed after 1.5.1**). Full methodology: [`bench/README.md`](./bench/README.md).
|
|
820
821
|
|
|
821
822
|
```bash
|
|
822
823
|
npm run bench
|
|
@@ -1252,7 +1253,7 @@ Yes, if your computeFn reads its deps in the same order each invocation. The `cu
|
|
|
1252
1253
|
npm test # behavior suite, ~1.3s
|
|
1253
1254
|
npm run test:gc # zero-gc suite, requires --expose-gc, ~3s
|
|
1254
1255
|
npm run bench # comparative benchmark vs alien-signals (results.txt), ~5min
|
|
1255
|
-
|
|
1256
|
+
node --expose-gc bench/benchmarkReactive.mjs # DEPRECATED pre-v3 reactivity suite (removed after 1.5.1)
|
|
1256
1257
|
npm run harness:field # verify + cold-child A/B bench (fieldkit)
|
|
1257
1258
|
npm run harness:all # field + dispose + churn probes, in sequence
|
|
1258
1259
|
npm run gate # cold-process version-matrix regression gate (also runs on prepublish)
|
package/llms.txt
CHANGED
|
@@ -152,6 +152,7 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
|
|
|
152
152
|
5% rolling / 10% floor, `frame.p99` and `phase.write.p99` 18% / 30%), four
|
|
153
153
|
workloads mapping to public bench claims -- carries forward from 1.4.0. Wired
|
|
154
154
|
as `prepublishOnly`.
|
|
155
|
+
**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 retained one release as `bench-reactive-legacy` (deprecated; removed after 1.5.1). Methodology in `bench/README.md`.
|
|
155
156
|
**Bench position** (third-party
|
|
156
157
|
[js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark),
|
|
157
158
|
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.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.6",
|
|
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",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"@zakkster/lite-profiler": "^1.1.0",
|
|
86
86
|
"@zakkster/lite-profiler-signal": "^1.2.0",
|
|
87
87
|
"@zakkster/lite-signal": "^1.3.0 || >=1.4.0-beta.0 || >=1.6.0-preview.0",
|
|
88
|
+
"coveralls-next": "^6.0.2",
|
|
88
89
|
"c8": "^11.0.0"
|
|
89
90
|
},
|
|
90
91
|
"overrides": {
|