@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 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
  [![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)
12
+ [![Coverage Status](https://coveralls.io/repos/github/PeshoVurtoleta/lite-signal/badge.svg?branch=main)](https://coveralls.io/github/PeshoVurtoleta/lite-signal?branch=main)
12
13
  ![Tree-Shakeable](https://img.shields.io/badge/tree--shakeable-yes-brightgreen)
13
14
  ![TypeScript](https://img.shields.io/badge/TypeScript-Types-informational)
14
15
  ![Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)
@@ -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 comparative benchmark (9 scenarios -- stable fan-in/out + dynamic/layered DAGs) against alien-signals (results.txt). `npm run bench-reactive` runs the cross-framework reactivity suite vs alien-signals, preact, vue-reactivity, and solid (resultsReactive.txt). Output is plain text -- easy to copy into PRs and changelogs.
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
- npm run bench-reactive # 5-framework reactivity suite (resultsReactive.txt)
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.1",
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",