google-labs-jules[bot] and PR0M3TH3AN
bcaae09e8b
perf: parallelize watch history chunk decryption
...
Refactored the watch history decryption loop to use Promise.all for
concurrently decrypting all chunks. This significantly reduces the
total time spent waiting for decryption, especially when dealing with
multiple history chunks. Each decryption remains isolated in a
try...catch block to ensure that a single failure does not block the
rest of the batch.
Performance results (simulated):
- Sequential: ~1011ms (20 chunks, 50ms delay)
- Parallel: ~55ms (20 chunks, 50ms delay)
- Speedup: ~18x
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-26 17:21:44 +00:00
..
2026-01-19 12:51:34 -05:00
2026-01-28 14:35:56 +00:00
2026-01-24 20:28:53 +00:00
2025-10-15 14:37:25 -04:00
2026-02-16 16:34:45 +00:00
2026-02-26 17:21:44 +00:00
2026-01-31 19:10:00 +00:00
2026-01-24 20:28:53 +00:00
2026-02-08 03:08:07 +00:00
2026-02-05 19:18:36 +00:00
2026-02-08 03:09:14 +00:00
2026-02-21 01:11:56 +00:00
2026-02-08 03:08:07 +00:00
2026-01-23 04:39:18 +00:00
2026-01-27 18:02:01 +00:00
2026-02-07 09:25:16 -05: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-02-08 03:49:12 +00:00
2026-01-28 23:49:33 +00: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-02-05 21:21:40 +00:00
2026-01-24 23:57:29 +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-01-24 20:28:53 +00:00
2026-01-27 16:32:01 +00:00
2026-01-23 04:19:40 +00:00
2026-02-11 11:26:18 +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-26 21:49:18 -05:00
2026-02-11 11:23:28 +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-16 16:33:24 +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-24 20:28:53 +00: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-01-28 23:49:33 +00:00
2026-01-24 20:28:53 +00:00
2026-01-27 20:33:25 +00:00
2026-01-19 20:46:47 +00:00
2026-01-28 23:49:33 +00:00
2026-01-19 20:46:47 +00:00
2026-01-09 19:34:39 -05:00
2026-01-27 08:36:12 -05:00
2025-10-15 14:37:25 -04:00
2026-01-21 22:07:23 +00:00
2025-10-15 12:49:46 -04:00
2026-01-26 23:40:59 +00:00
2025-02-05 16:54:40 -05:00
2025-02-05 16:54:40 -05:00