Skip to content
This repository was archived by the owner on Aug 15, 2026. It is now read-only.

Releases: orangeofcarl0-sys/dsh-fork-perf

v0.1.0 — zero-copy fork

Choose a tag to compare

@orangeofcarl0-sys orangeofcarl0-sys released this 15 Aug 15:48

First release.

What

  • zero-copy fork: route fork through Session.prepare(seedSource:'persistence') so the child session reuses deep-frozen immutable event references instead of deep-copying the whole log — 344ms → 19ms on an 18.2MB / 20k-event session.
  • fast initFor: PersistenceCoordinator.initFor's structuredClone(seed) replaced by frozen-reference reuse (135ms → ~0ms), guarded by an rc.6 source-signature check.
  • Three-layer fallback: capability probe → try/catch to native → config switch; dispose fully restores originals.
  • Monitoring API: POST /dsh-fork-perf/api/{stats.get,stats.reset,config.get,config.set}.

Install

dsh plugin --profile web add github:orangeofcarl0-sys/dsh-fork-perf

Verified on dsh 0.1.0-rc.6 / Windows (tests: 22 asserts ALL PASS; live instance confirmed both patches installed).