Files
bitvid/perf/hits-2026-02-17.json
T
google-labs-jules[bot]andPR0M3TH3AN 29982cfb63 perf: visibility-gate explore data intervals and fix lint crash
- Modifies `js/services/exploreDataService.js` to prevent starting background intervals if the document is hidden at initialization.
- Updates `scripts/check-hex.js` to increase max buffer size and exclude `js/webtorrent.min.js` to prevent `ENOBUFS` crashes.
- Adds `perf/hits-2026-02-17.json` inventory.
- Adds `daily-perf-report-2026-02-17.md` report.
- Adds `docs/agents/task-logs/daily/2026-02-17_06-45-57_perf-agent_completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 06:48:22 +00:00

27 lines
958 B
JSON

[
{
"file": "js/services/exploreDataService.js",
"pattern": "setInterval",
"line": 171,
"trigger": "page load / initialization",
"impact": "Starts background intervals (watch history sync, tag IDF calc) even if tab is hidden.",
"fix": "Check document.hidden inside startIntervals()."
},
{
"file": "js/services/relayHealthService.js",
"pattern": "Promise.allSettled",
"line": 239,
"trigger": "refresh() called (e.g. periodically or on demand)",
"impact": "Unbounded concurrency for relay checks. If many relays, spawns many connections.",
"fix": "Use a concurrency limit (e.g. p-limit equivalent)."
},
{
"file": "js/ui/loginModalController.js",
"pattern": "setInterval",
"line": 395,
"trigger": "login modal open",
"impact": "Polls for modal close if MutationObserver fails. Checked document.hidden but context is complex.",
"fix": "Ensure visibility checks are robust."
}
]