mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-07 13:22:54 +00:00
perf: fix unbounded relay concurrency
Identified and fixed unbounded concurrency in js/relayManager.js during relay list hydration. Uses pMap with RELAY_BACKGROUND_CONCURRENCY (3). Daily perf agent run 2026-02-17. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
390656e552
commit
9d159ae0a7
9 files changed
+6694
-44
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# Perf Agent Completion Log
|
||||
|
||||
**Date:** 2026-02-17
|
||||
**Agent:** perf-agent
|
||||
**Status:** Completed
|
||||
|
||||
## Summary
|
||||
- Established baseline performance hits (1308 found).
|
||||
- Identified P0 issue: Unbounded concurrency in `js/relayManager.js` during relay list hydration.
|
||||
- Fixed P0 issue by implementing bounded concurrency (limit=3) using `pMap`.
|
||||
- Verified fix with lint and unit tests.
|
||||
- Produced `daily-perf-report-2026-02-17.md`.
|
||||
|
||||
## Artifacts
|
||||
- `perf/hits-2026-02-17.json`
|
||||
- `daily-perf-report-2026-02-17.md`
|
||||
- `perf/search.mjs` (helper script)
|
||||
Reference in new issue
Block a user