google-labs-jules[bot] and PR0M3TH3AN
fac5e00297
feat(perf): offload explore data computation to web worker
...
- Moved heavy tag counting and IDF calculation to `js/workers/exploreData.worker.js`.
- Extracted `collectVideoTags` to `js/utils/videoTags.js` (preserved original behavior).
- Extracted pointer normalization logic to `js/utils/pointerNormalization.js`.
- Refactored `js/services/exploreDataService.js` to use the worker.
- Added benchmark test `tests/benchmark-explore-data.spec.mjs`.
Measured Improvement:
- `buildTagIdf` execution time on main thread reduced from ~130ms blocking to ~0ms blocking (141ms total async time).
- Unblocks UI during periodic data refreshes.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-05 17:00:13 +00:00
..
2026-01-19 12:51:34 -05:00
2026-01-24 20:28:53 +00:00
2025-10-15 14:37:25 -04:00
2026-01-23 01:59:57 -05:00
2026-02-05 17:00:13 +00:00
2026-01-24 20:28:53 +00:00
2026-01-24 20:28:53 +00:00
2026-02-05 17:00:13 +00:00
2026-01-29 19:01:11 -05:00
2026-01-26 20:29:38 +00:00
2026-02-04 20:12:24 +00:00
2026-02-05 17:00:13 +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-03 01:55:21 +00:00
2025-10-03 21:10:22 -04:00
2026-01-24 20:00:00 -05:00
2026-01-07 17:30:22 +00:00
2026-01-29 16:32:11 -05:00
2026-01-30 16:51:01 -05:00
2026-01-26 15:55:11 +00:00
2026-01-24 20:28:53 +00:00
2026-01-27 02:42:31 +00:00
2026-01-22 14:58:35 +00:00
2026-01-24 20:28:53 +00:00
2026-01-27 19:43:24 +00:00
2026-01-30 10:48:28 -05: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-01 19:35:02 +00:00
2026-01-27 16:32:01 +00:00
2026-01-23 04:19:40 +00:00
2026-01-27 20:33:25 +00:00
2026-01-24 20:00:00 -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-01-27 20:33:25 +00:00
2026-01-26 21:49:18 -05:00
2026-01-28 23:49:33 +00:00
2026-01-28 23:49:33 +00:00
2026-02-02 03:05:13 +00:00
2025-10-15 14:37:25 -04:00
2026-01-27 03:15:32 +00:00
2025-10-22 22:17:30 -04:00
2025-10-22 22:17:30 -04:00
2025-10-15 14:37:25 -04: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-02 03:05:13 +00:00
2026-01-30 16:51:01 -05:00
2026-01-19 20:46:47 +00:00
2026-02-04 16:13:04 +00:00
2026-01-19 20:46:47 +00:00
2026-01-29 09:58:35 -05:00
2026-01-27 08:36:12 -05:00
2025-10-15 14:37:25 -04:00
2026-01-31 08:14:53 +00:00
2025-10-15 12:49:46 -04:00
2026-02-01 20:30:59 +00:00
2025-02-05 16:54:40 -05:00
2025-02-05 16:54:40 -05:00