Files
bitvid/INITIAL_BASELINE.md
T
google-labs-jules[bot]andPR0M3TH3AN d3fa684e45 perf: bound relay background concurrency to 3
Replaces unbounded `Promise.all(relays.map(...))` calls with `pMap` using a concurrency limit of 3 for background operations like history hydration, metadata fetching, and DM sending.
This prevents network saturation and potential main-thread jank when many relays are configured.
Includes benchmark verification script `benchmarks/relay_concurrency_repro.mjs`.
Audited upload docs and confirmed accuracy.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-11 21:31:53 +00:00

11 lines
173 B
Markdown

# Initial Baseline
## Metrics
- Login time: TBD
- Decrypt queue sizes: TBD
- Relay latencies: TBD
- Active WebTorrent clients: TBD
## Observations
- Initial scan pending.