kshitijk4poor
e579e9b98e
perf(browser): the in-call ownership check stops once the daemon can never be ours
...
Gate (2c, efficiency): the 0.5 s check while browser_exec runs stopped only once this process
owned the daemon. On Windows, in a managed worker, or for a daemon another Hermes started it can
never be owned, so it ran every tick for the whole call (up to ~600 short threads in a 300 s call;
for another Hermes's daemon each tick also read its cmdline, uids, sid and environ).
_own_harness_daemon now answers True (owned), False (never ours) or None (nothing to own yet), and
the check stops on anything but None. The managed-worker comment now gives the real reason: a
killed worker must not take the next turn's browser along; its clean exit still runs main's atexit
browser cleanup.
Tests: for another Hermes's daemon and in a managed worker the check answers stop; both fail with
the old owned-only stop rule.
2026-10-29 16:58:09 +05:30
..
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-10-27 10:56:48 -04:00
2026-10-29 16:58:09 +05:30
2026-10-28 19:35:16 -07:00
2026-10-23 16:04:50 -07:00
2026-10-16 19:42:20 -04:00
2026-10-27 16:30:14 +05:30
2026-10-28 15:28:40 +05:30
2026-10-23 16:16:43 -07:00
2026-10-16 15:21:07 -04:00
2026-10-21 04:12:11 -07:00
2026-10-28 15:28:40 +05:30
2026-10-18 20:50:03 -07:00
2026-10-28 13:10:03 -07:00
2026-10-17 14:11:42 -04:00
2026-10-20 03:19:01 -07:00
2026-10-27 12:16:22 -07:00
2026-10-27 12:16:22 -07:00
2026-10-27 16:30:14 +05:30
2026-10-28 19:07:59 -07:00
2026-10-23 16:04:50 -07:00
2026-10-29 16:58:09 +05:30
2026-10-23 01:43:16 -07:00
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-10-23 01:41:23 -07:00
2026-10-23 01:43:17 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:42:57 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-28 19:07:59 -07:00
2026-10-29 16:58:09 +05:30
2026-10-28 13:12:40 -07:00
2026-10-25 05:32:43 -07:00
2026-10-28 19:00:07 -07:00
2026-10-17 08:03:51 -07:00
2026-10-17 14:51:46 -07:00
2026-10-23 16:04:50 -07:00
2026-10-23 16:04:50 -07:00
2026-10-16 17:49:54 -04:00
2026-10-22 05:26:10 -07:00
2026-10-25 19:14:26 -04:00
2026-10-29 16:58:09 +05:30
2026-10-22 05:26:10 -07:00
2026-10-28 19:40:40 -07:00
2026-10-22 14:37:10 -07:00
2026-10-28 19:35:16 -07:00
2026-10-28 19:35:16 -07:00
2026-10-16 22:10:26 +02:00
2026-10-23 00:37:14 -07:00
2026-10-22 14:37:10 -07:00
2026-10-28 19:35:16 -07:00
2026-10-22 14:37:10 -07:00
2026-10-23 16:04:50 -07:00
2026-10-22 05:26:10 -07:00
2026-10-19 01:31:31 -07:00
2026-10-28 18:54:14 -07:00
2026-10-23 15:33:14 -07:00
2026-10-17 04:23:04 -07:00
2026-10-29 16:58:09 +05:30
2026-10-28 18:54:14 -07:00
2026-10-22 05:26:10 -07:00
2026-10-28 21:24:43 -07:00
2026-10-24 18:44:31 -07:00
2026-10-23 16:04:50 -07:00
2026-10-20 12:30:50 -07:00
2026-10-23 16:04:50 -07:00
2026-10-23 16:04:50 -07:00
2026-10-23 14:01:02 -07:00
2026-10-27 12:57:09 -07:00
2026-10-28 19:35:16 -07:00
2026-10-21 04:12:11 -07:00
2026-10-21 04:12:11 -07:00
2026-10-19 07:27:50 -07:00
2026-10-23 17:40:33 -07:00
2026-10-20 23:36:32 -04:00
2026-10-23 17:39:48 -07:00
2026-10-29 16:58:09 +05:30
2026-10-21 21:39:02 -04:00
2026-10-20 23:36:32 -04:00
2026-10-21 04:12:11 -07:00
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-10-25 03:00:43 -07:00
2026-10-24 18:44:31 -07:00
2026-10-28 23:07:47 -07:00
2026-10-28 23:07:47 -07:00
2026-10-20 02:24:45 -07:00
2026-10-29 16:58:09 +05:30
2026-10-28 13:10:03 -07:00
2026-10-17 08:03:52 -07:00
2026-10-29 16:58:09 +05:30
2026-10-17 08:03:52 -07:00
2026-10-28 13:10:03 -07:00
2026-10-17 04:35:05 -07:00
2026-10-29 16:58:09 +05:30
2026-10-18 12:27:21 +02:00
2026-10-23 16:04:50 -07:00
2026-10-23 01:42:27 -07:00
2026-10-25 19:26:49 -07:00
2026-10-16 07:09:45 -07:00
2026-10-16 19:42:34 -07:00
2026-10-25 18:54:09 -07:00
2026-10-23 16:04:50 -07:00
2026-10-18 00:47:38 -07:00
2026-10-24 17:11:13 -07:00
2026-10-24 17:11:13 -07:00
2026-10-18 00:47:38 -07:00
2026-10-28 21:24:43 -07:00
2026-10-27 10:56:48 -04:00
2026-10-28 21:24:43 -07:00
2026-10-27 10:56:48 -04:00
2026-10-18 00:47:38 -07:00
2026-10-18 00:47:38 -07:00
2026-10-18 00:47:38 -07:00
2026-10-24 04:01:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-24 18:44:31 -07:00
2026-10-17 08:03:52 -07:00
2026-10-17 21:49:14 -07:00
2026-10-25 18:54:09 -07:00
2026-10-22 05:26:10 -07:00
2026-10-28 20:45:32 -07:00
2026-10-22 05:26:10 -07:00
2026-10-17 04:23:31 -07:00
2026-10-25 19:14:26 -04:00
2026-10-24 18:48:01 -07:00
2026-10-25 19:14:26 -04:00
2026-10-22 02:53:12 -04:00
2026-10-23 16:04:50 -07:00
2026-10-28 13:09:00 -07:00
2026-10-23 15:33:14 -07:00
2026-10-24 18:55:33 -07:00
2026-10-20 03:22:11 -07:00
2026-10-24 18:55:33 -07:00
2026-10-23 16:04:50 -07:00
2026-10-29 16:58:09 +05:30
2026-10-25 15:58:23 -07:00
2026-10-25 13:07:21 -07:00
2026-10-25 16:39:44 -07:00
2026-10-27 16:37:44 -04:00
2026-10-23 16:04:50 -07:00
2026-10-23 01:41:24 -07:00
2026-10-27 16:30:14 +05:30
2026-10-29 16:58:09 +05:30
2026-10-28 13:54:02 -07:00
2026-10-28 13:54:02 -07:00
2026-10-28 13:13:12 -07:00
2026-10-23 16:04:50 -07:00
2026-10-25 18:54:09 -07:00
2026-10-23 16:04:50 -07:00
2026-10-23 16:04:50 -07:00