cross-tab-worker-databus 0.21.55 → 0.21.56
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 +17 -0
- package/dist/centrifuge-session.d.ts.map +1 -1
- package/dist/centrifuge.js +1 -1
- package/dist/centrifuge.js.map +2 -2
- package/dist/centrifuge.shared.worker.js.map +2 -2
- package/dist/centrifuge.worker.js.map +2 -2
- package/dist/{chunk-TJ7XHT7I.js → chunk-VDCLCCMN.js} +2 -2
- package/dist/cjs/centrifuge.cjs +1 -1
- package/dist/cjs/centrifuge.cjs.map +2 -2
- package/dist/cjs/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/docs/benchmarks.md +7 -7
- package/docs/roadmap.md +1 -1
- package/docs/zh/benchmarks.md +7 -7
- package/docs/zh/roadmap.md +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-TJ7XHT7I.js.map → chunk-VDCLCCMN.js.map} +0 -0
package/dist/cjs/index.cjs
CHANGED
|
@@ -2643,7 +2643,7 @@ var SDK_VERSION = (
|
|
|
2643
2643
|
// declaration's type is `string | undefined` and the export's is `string`
|
|
2644
2644
|
// (dropping the conditional is TS2322, measured). Recorded here so the leg reads
|
|
2645
2645
|
// as a shape the harness cannot reach rather than as a case nobody exercised.
|
|
2646
|
-
true ? "0.21.
|
|
2646
|
+
true ? "0.21.56" : ""
|
|
2647
2647
|
);
|
|
2648
2648
|
|
|
2649
2649
|
// src/core/data-bus.ts
|
package/dist/index.js
CHANGED
package/docs/benchmarks.md
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
# Browser Benchmark Trend
|
|
4
4
|
|
|
5
|
-
> Data through 2026-10-
|
|
5
|
+
> Data through 2026-10-25, from the 95 archived `bench-results/browser-*.json` reports (run `pnpm bench:browser` to add one; regenerate this doc with `node scripts/bench-trend.mjs`).
|
|
6
6
|
|
|
7
7
|
The comparison baseline for release gating is `pnpm bench:compare --fail-above-pct 50`, which compares the newest report against the median of the same metric in the preceding reports *and* requires the new value to exceed the highest of those samples (50% ceiling absorbs shared-runner noise; a single previous report was a fragile baseline because the in-page hot-path metrics alternate between a fast and a slow mode on identical code — and a median over an alternating sample is only stable while the modes are mixed, so a percentage alone can still fail on nothing but a mode shift. Metrics excused by that second leg are listed as "within-baseline, not gated" rather than passing silently). This doc records the long-run picture: values are per-metric latencies where lower is better, and the last column is the best run inside the most recent 5 reports — not an all-time record, because the in-page matrix changed measurement semantics in early September 2026 and older reports are not comparable.
|
|
8
8
|
|
|
9
9
|
<!-- BENCH-TREND:BEGIN (machine-generated table) -->
|
|
10
10
|
| Metric | Previous (ms) | Latest (ms) | Δ | Best of last 5 runs (ms) |
|
|
11
11
|
|---|---|---|---|---|
|
|
12
|
-
| publish per-message (ms, lower is better) — dedicated |
|
|
13
|
-
| publish per-message (ms, lower is better) — shared |
|
|
14
|
-
| wildcard dispatch ×1000 (ms, lower is better) |
|
|
15
|
-
| publishBatch ×1000 (ms, lower is better) |
|
|
16
|
-
| dedup ×1000 (ms, lower is better) |
|
|
17
|
-
| trace + publish ×1000 (ms, lower is better) |
|
|
12
|
+
| publish per-message (ms, lower is better) — dedicated | 40.396 | 50.3047 | +9.91 | 40.396 |
|
|
13
|
+
| publish per-message (ms, lower is better) — shared | 36.1461 | 36.1657 | +0.02 | 33.8229 |
|
|
14
|
+
| wildcard dispatch ×1000 (ms, lower is better) | 9.5 | 6.2 | -3.30 | 6 |
|
|
15
|
+
| publishBatch ×1000 (ms, lower is better) | 5.5 | 4.9 | -0.60 | 3.9 |
|
|
16
|
+
| dedup ×1000 (ms, lower is better) | 14.6 | 13.2 | -1.40 | 13.2 |
|
|
17
|
+
| trace + publish ×1000 (ms, lower is better) | 5.2 | 5.5 | +0.30 | 5.2 |
|
|
18
18
|
| first-packet cold dispatch (ms, lower is better) | 0 | 0 | +0.00 | 0 |
|
|
19
19
|
<!-- BENCH-TREND:END -->
|
|
20
20
|
|
package/docs/roadmap.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Roadmap
|
|
2
2
|
|
|
3
|
-
0.21.
|
|
3
|
+
0.21.55 was released on October 25, 2026. The project is intentionally continuing through reliability-focused releases before a 1.0.0 stability freeze.
|
|
4
4
|
|
|
5
5
|
## 0.21.44 delivered scope
|
|
6
6
|
|
package/docs/zh/benchmarks.md
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
# 浏览器基准趋势
|
|
4
4
|
|
|
5
|
-
> 数据截至 2026-10-
|
|
5
|
+
> 数据截至 2026-10-25,基于 95 份归档的 `bench-results/browser-*.json` 报告(运行 `pnpm bench:browser` 追加一份;用 `node scripts/bench-trend.mjs` 重新生成本文档)。
|
|
6
6
|
|
|
7
7
|
发布门禁的对比基线是 `pnpm bench:compare --fail-above-pct 50`:将最新报告与其之前若干报告中同一指标的中位数比较,*并且*要求新值超过这些样本中的最大值(50% 上限用于吸收共享 runner 的噪声;此前只看"上一份报告"并不稳定,因为页内热路径指标在同一份代码上会在快/慢两档之间来回跳;而在两档交替的样本上,中位数只有在这两档混合分布时才稳定,因此单看百分比仍可能纯粹因为档位切换而失败)。被第二个条件放过的指标会显式列在 “within-baseline, not gated” 里,而不是悄悄算作通过。本文记录长期趋势:数值为逐指标延迟,越低越好;最后一列是最近 5 份报告内的最优值,而不是历史纪录——页内基准矩阵在 2026 年 9 月初变更过测量语义,更早的报告不可比。
|
|
8
8
|
|
|
9
9
|
<!-- BENCH-TREND:BEGIN (machine-generated table) -->
|
|
10
10
|
| 指标 | 上次 (ms) | 本次 (ms) | Δ | 近 5 次最优 (ms) |
|
|
11
11
|
|---|---|---|---|---|
|
|
12
|
-
| publish per-message (ms, lower is better) — dedicated |
|
|
13
|
-
| publish per-message (ms, lower is better) — shared |
|
|
14
|
-
| wildcard dispatch ×1000 (ms, lower is better) |
|
|
15
|
-
| publishBatch ×1000 (ms, lower is better) |
|
|
16
|
-
| dedup ×1000 (ms, lower is better) |
|
|
17
|
-
| trace + publish ×1000 (ms, lower is better) |
|
|
12
|
+
| publish per-message (ms, lower is better) — dedicated | 40.396 | 50.3047 | +9.91 | 40.396 |
|
|
13
|
+
| publish per-message (ms, lower is better) — shared | 36.1461 | 36.1657 | +0.02 | 33.8229 |
|
|
14
|
+
| wildcard dispatch ×1000 (ms, lower is better) | 9.5 | 6.2 | -3.30 | 6 |
|
|
15
|
+
| publishBatch ×1000 (ms, lower is better) | 5.5 | 4.9 | -0.60 | 3.9 |
|
|
16
|
+
| dedup ×1000 (ms, lower is better) | 14.6 | 13.2 | -1.40 | 13.2 |
|
|
17
|
+
| trace + publish ×1000 (ms, lower is better) | 5.2 | 5.5 | +0.30 | 5.2 |
|
|
18
18
|
| first-packet cold dispatch (ms, lower is better) | 0 | 0 | +0.00 | 0 |
|
|
19
19
|
<!-- BENCH-TREND:END -->
|
|
20
20
|
|
package/docs/zh/roadmap.md
CHANGED
package/package.json
CHANGED
|
File without changes
|