google-labs-jules[bot] and PR0M3TH3AN
b28e62963f
perf: Batch video timestamp resolution to reduce N+1 network requests
...
- Implemented `hydrateVideoHistoryBatch` in `NostrClient` to fetch missing root events and sparse histories in a single `pool.list` request.
- Refactored `hydrateVideoHistory` to use shared helper methods `getLocalVideoHistory` and `_processAndCacheEvent`.
- Added `resolveVideoPostedAtBatch` to `PlaybackCoordinator` which delegates to the batched client method.
- Updated `VideoListView` to collect videos needing timestamp resolution and call the batch method, falling back to individual calls if necessary.
- Added regression test `tests/performance/resolvePostedAt.test.mjs` to verify reduced network calls.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-11 12:01:39 +00:00
..
2026-02-11 12:01:39 +00:00
2026-01-19 12:51:34 -05:00
2026-02-08 00:33:13 +00:00
2026-02-05 20:31:23 +00:00
2025-10-15 14:37:25 -04:00
2026-02-10 19:44:30 +00:00
2026-02-11 12:01:39 +00:00
2026-02-11 03:27:26 +00:00
2026-01-24 20:28:53 +00:00
2026-02-11 03:27:26 +00:00
2026-02-11 03:27:26 +00:00
2026-02-08 03:41:19 +00:00
2026-02-11 12:01:39 +00:00
2026-02-10 13:53:10 +00:00
2026-02-05 17:00:13 +00:00
2026-01-23 04:39:18 +00:00
2026-01-30 16:51:01 -05:00
2026-02-11 12:01:39 +00:00
2025-10-03 21:10:22 -04:00
2026-02-08 03:44:38 +00:00
2026-01-07 17:30:22 +00:00
2026-02-11 03:27:26 +00:00
2026-02-11 04:05:36 +00:00
2026-02-11 03:27:26 +00:00
2026-01-24 20:28:53 +00:00
2026-02-07 21:52:51 +00:00
2026-01-22 14:58:35 +00:00
2026-02-07 21:52:51 +00:00
2026-01-27 19:43:24 +00:00
2026-02-08 03:44:38 +00:00
2026-01-24 22:29:18 +00:00
2026-01-22 19:27:40 -05:00
2026-01-21 17:48:01 +00:00
2026-02-11 03:27:26 +00:00
2026-02-08 00:22:16 +00:00
2026-02-07 21:59:37 +00:00
2026-01-23 04:19:40 +00:00
2026-02-10 02:35:24 +00:00
2026-02-10 01:10:19 -05:00
2026-01-23 02:09:08 -05:00
2026-01-24 20:28:53 +00:00
2026-01-30 17:04:15 -05:00
2026-02-09 23:22:49 -05:00
2026-01-26 21:49:18 -05:00
2026-01-28 23:49:33 +00:00
2026-02-09 21:32:29 +00:00
2026-02-11 03:27:26 +00:00
2026-02-05 21:03:44 +00:00
2026-02-09 02:24:53 +00:00
2025-10-22 22:17:30 -04:00
2025-10-22 22:17:30 -04:00
2026-02-07 21:52:51 +00:00
2025-09-24 15:23:24 -04:00
2026-01-26 12:47:05 -05:00
2026-01-19 20:46:47 +00:00
2026-01-29 09:58:35 -05:00
2026-01-23 20:33:06 +00:00
2026-01-19 02:13:59 +00:00
2025-10-01 13:42:50 -04:00
2026-02-10 00:28:27 +00:00
2026-02-10 05:09:46 +00:00
2026-01-30 16:51:01 -05:00
2026-01-19 20:46:47 +00:00
2026-02-11 03:27:26 +00:00
2026-01-19 20:46:47 +00:00
2026-01-29 09:58:35 -05:00
2026-02-10 01:10:19 -05:00
2025-10-15 14:37:25 -04:00
2026-02-11 03:27:26 +00:00
2025-10-15 12:49:46 -04:00
2026-02-10 00:56:33 -05:00
2025-02-05 16:54:40 -05:00
2025-02-05 16:54:40 -05:00