@zakkster/lite-signal 1.7.0-alpha.1 → 1.7.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,19 @@ This project follows [Semantic Versioning](https://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Changed -- bench protocol v3 (carried forward)
10
+
11
+ The `bench/` harness is bench protocol v3: three instruments (microscope / mirror /
12
+ version-economics), each with a fixed config and a machine-generated `#STAMP`
13
+ (engine + harness sha256, live registry config, host, node). The pre-v3
14
+ five-framework reactivity suite was removed after 1.5.1. See `bench/README.md`.
15
+
16
+ ### Added -- Coveralls coverage badge
17
+
18
+ README carries a Coveralls badge; lcov is produced by `npm run test:report`
19
+ (`coveralls-next` in devDependencies).
20
+
21
+
9
22
  ### Fixed -- dangling re-tracking cursor on source disposal (crash)
10
23
 
11
24
  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)
@@ -918,7 +919,7 @@ npm run test:gc
918
919
 
919
920
  ### Tier 3 -- Performance (comparative benchmark)
920
921
 
921
- `npm run bench` runs the comparative benchmark (9 scenarios -- stable fan-in/out + dynamic/layered DAGs) against alien-signals ([`bench/results.txt`](./bench/results.txt)). `npm run bench-reactive` runs the cross-framework reactivity suite vs alien-signals, preact, vue-reactivity, and solid ([`bench/resultsReactive.txt`](./bench/resultsReactive.txt)). Output is plain text -- easy to copy into PRs and changelogs.
922
+ `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).
922
923
 
923
924
  **As of 1.7.0 the propagation harness fails loudly instead of lying quietly.** Every scenario's anti-DCE sink is checked after the timed loop; a dead sink prints an `INVALID RUN` block naming the offending rows and exits non-zero. This is the guard that would have caught the pre-1.7.0 `flushStrategy: "sab"`-without-flush bug on day one -- see the note at the top of [Benchmarks](#benchmarks).
924
925
 
@@ -1378,7 +1379,7 @@ npm run test:gc # all 484 -- adds --expose-gc (8 tests are gated on it)
1378
1379
  npm run test:coverage # the same suite under c8 (100% stmts / 100% funcs / 100% branch)
1379
1380
  npm run test:harness # profiler-tools hardening suite
1380
1381
  npm run bench # comparative benchmark vs alien-signals -> bench/results.txt
1381
- npm run bench-reactive # 5-framework reactivity suite -> bench/resultsReactive.txt
1382
+ node --expose-gc bench/mirror.mjs --self-verify # cross-framework mirror sweep (bench protocol v3)
1382
1383
  npm run harness:smoke # flushStrategy semantics (eager/sab/manual) -- ASSERTS
1383
1384
  npm run harness:all # smoke + field + dispose + churn probes
1384
1385
  npm run gate # cold-process version-matrix regression gate (also runs on prepublish)
package/llms.txt CHANGED
@@ -291,7 +291,7 @@ triggering write -- no `queueMicrotask`, no promises, no scheduler ticks.
291
291
  Version lineage:
292
292
  this is the engine previously labeled `1.2.3` in dev -- renumbered to
293
293
  `1.2.2` because the deletion is small, isolated, and intentionally
294
- non-behavioral. Drop-in over 1.2.1. **Bench position** (third-party
294
+ non-behavioral. Drop-in over 1.2.1. **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`. **Bench position** (third-party
295
295
  [js-reactivity-benchmark](https://github.com/volynetstyle/js-reactivity-benchmark),
296
296
  15 frameworks, 47 tests): #4 by geomean (75.5) at 1.77x behind alien-signals
297
297
  (1.00x), reflex (1.15x), @reactively (1.39x); now ahead of 5th-place Preact
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zakkster/lite-signal",
3
- "version": "1.7.0-alpha.1",
3
+ "version": "1.7.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",