You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thin adapter over @stackbilt/wasm-core@0.1.0. Rust impl uses sorted Vec
with binary search (O(log N) insert, O(1) percentile) and circular eviction
(O(1)) instead of Array.shift + sort-on-read. Exact nearest-rank semantics
preserved; all 487 tests pass. Vitest config updated to enable
--experimental-wasm-modules in the fork pool so WASM loads in Node.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). Versions use [Se
5
5
6
6
## [Unreleased]
7
7
8
+
### Performance
9
+
-**`LatencyHistogram` backed by WASM (#96)** — `LatencyHistogram` is now a thin adapter over `@stackbilt/wasm-core` (Phase 0). The Rust implementation uses a sorted `Vec` with binary search insertion (O(log N) insert, O(1) percentile read) and a circular eviction index (O(1)) in place of `Array.shift()`. No public API change; existing tests pass unchanged. Requires `--experimental-wasm-modules` in Node.js test environments (added to `vitest.config.ts`).
0 commit comments