perf: bound relay concurrency in channel video fetching

- Replaced unbounded `Promise.allSettled` in `js/channelProfile.js` with `pMap` using `RELAY_BACKGROUND_CONCURRENCY` (3).
- Ensures network stability when users have many relays.
- Audited `/content` docs (upload limits/ports) and confirmed accuracy.
- Generated `daily-perf-report-2026-02-17.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-17 10:41:55 +00:00
1 parent de7fc9dbec
commit fe49e18628
8 files changed
+1428 -3

No files matched your search

@@ -0,0 +1,19 @@
# perf-agent Completed
**Timestamp:** 2026-02-17 05:30:00
**Agent:** perf-agent
**Status:** Completed
## Summary
- Bounded concurrency in `js/channelProfile.js` for channel video fetching (P1).
- Audited `/content` docs for upload behavior (P0 for docs).
- Verified `js/nostr/commentEvents.js` concurrency fix (P0).
## Changes
- Modified `js/channelProfile.js`: Replaced `Promise.allSettled` with `pMap` (concurrency: 3) for relay requests.
- Generated `daily-perf-report-2026-02-17.md`.
- Created artifacts: `perf/hits-2026-02-17.json` (as raw_hits.txt), `INITIAL_BASELINE.md`, `test_logs/`, `decisions/`, `todo/`.
## Verification
- Lint passed.
- Logic reviewed: `pMap` wrapper correctly mimics `Promise.allSettled` behavior.