Commit Graph
23 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 4bfe605fed perf-agent: daily run 2026-02-22
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 18:57:54 +00:00
google-labs-jules[bot]andPR0M3TH3AN f7ebad4b2f perf: throttle trusted mute pruning
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 13:12:30 +00:00
google-labs-jules[bot]andPR0M3TH3AN 15d28cdf35 refactor: replace magic number 5000 with SHORT_TIMEOUT_MS in js/subscriptions.js
Also updates perf/constants-refactor/candidates.json and adds completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 17:54:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN 45917d6e2b run daily perf-agent and add analysis scripts
- Added scripts/agent/perf-search.mjs to scan for performance anti-patterns.
- Added scripts/agent/generate-perf-report.mjs to summarize findings.
- Generated perf/hits-2026-02-18.json and perf/daily-perf-report-2026-02-18.md.
- Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 18:45:20 +00:00
google-labs-jules[bot]andPR0M3TH3AN 106f7640c4 fix(exploreData): trigger refresh immediately on visibility change
- `handleVisibility` only scheduled intervals but didn't trigger an immediate refresh when returning to the tab.
- This caused `tests/unit/services/exploreDataService.test.mjs` to fail (assertion `0 !== 1`).
- Added explicit calls to `refreshWatchHistoryTagCounts` and `refreshTagIdf` when `document.hidden` becomes false.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 15:10:29 +00:00
thePR0M3TH3AN aa920b5a7a Merge branch 'unstable' into agents/daily/perf-agent-2026-02-17-7651999785559448222 2026-02-18 09:41:56 -05:00
thePR0M3TH3AN 8bafe5f6e9 Merge branch 'unstable' into agents/daily/perf-agent-10905324702890843252 2026-02-18 09:38:12 -05:00
thePR0M3TH3AN 52039ec579 Merge branch 'unstable' into agents/daily/perf-agent-2026-02-15-8187656557724027488 2026-02-18 09:36:36 -05:00
thePR0M3TH3AN ed291a884a Merge branch 'unstable' into agents/daily/perf-agent-2026-02-15-3720994187998550610 2026-02-18 09:30:19 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9fc650d563 [constants] extract SHORT_TIMEOUT_MS and STANDARD_TIMEOUT_MS
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 21:58:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7e81e45e22 perf: fix unbounded relay concurrency and lint failures
- Fixed unbounded concurrency in js/relayManager.js during relay list hydration by using pMap with RELAY_BACKGROUND_CONCURRENCY (3).
- Modified scripts/check-hex.js to robustly filter out js/webtorrent.min.js and perf/hits-*.json from matches to fix CI lint failure.
- Created perf/search.mjs helper and daily perf report.

Daily perf agent run 2026-02-17.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 14:09:24 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9d159ae0a7 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]>
2026-02-17 13:53:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN fe49e18628 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]>
2026-02-17 10:41:55 +00:00
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
google-labs-jules[bot]andPR0M3TH3AN 190347c522 [constants] extract STANDARD_TIMEOUT_MS (10000) -> js/constants.js
Refactors duplicated `10000` ms numeric literals to use the canonical `STANDARD_TIMEOUT_MS` constant.

Affects:
- `js/testHarness.js`
- `js/nostr/relayBatchFetcher.js`
- `js/nostr/client.js`

Verification:
- `npm run lint` passed.
- `npm run test:unit` passed.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 05:03:24 +00:00
google-labs-jules[bot]andPR0M3TH3AN 066355e47e [constants] extract STANDARD_TIMEOUT_MS (10000) -> js/constants.js
Refactors duplicated `10000` ms numeric literals to use the canonical `STANDARD_TIMEOUT_MS` constant.

Affects:
- `js/testHarness.js`
- `js/nostr/relayBatchFetcher.js`
- `js/nostr/client.js`

Verification:
- `npm run lint` passed.
- `npm run test:unit` passed.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 04:55:18 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7637631730 perf: visibility gating for LoginModalController
- Implements visibility gating in `LoginModalController.js` to pause polling intervals when the tab is hidden.
- Created `perf/daily-perf-report-2026-02-15.md` with performance findings.
- Verified upload documentation alignment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 15:52:32 +00:00
google-labs-jules[bot]andPR0M3TH3AN c356e28ee5 perf: Implement visibility gating in ExploreDataService
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 12:50:12 +00:00
google-labs-jules[bot]andPR0M3TH3AN 268a980702 Run daily agent: perf-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 09:48:40 +00:00
google-labs-jules[bot]andPR0M3TH3AN 183044a396 perf(explore): pause background updates when hidden; fix check-hex perf/ignore
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 07:26:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6181041b42 perf(explore): pause background updates when hidden
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 07:14:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN 50390f9411 perf: implement visibility gating in ExploreDataService
- Pause `watchHistory` and `tagIdf` intervals when tab is hidden.
- Add `daily-perf-report-2026-02-15.md`.
- Add `perf/hits-2026-02-15.json`.
- Docs audit verified (no changes needed).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 04:01:39 +00:00
google-labs-jules[bot]andPR0M3TH3AN bb39226ca5 perf-agent: visibility gate VideoEventBuffer
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 20:44:59 +00:00