Files
George Barnett afc79dd083 Implement customisation point for scheduled callback on isolated EL (#3679)
Motivation:

The schedule callback mechanism on `EventLoop` has an equivalent on an
isolated `EventLoop`. The default isolated implementation puts the
hander in a loop bound box and calls the non-isolated version.

This is okay but introduces a number of additional "in event loop"
checks which are required for correctness in the general case (i.e. not
called from an isolated event loop).

Modifications:

- Implement the customisation point directly to avoid the additional
checks (the are unecessary by definition of being on the isolated event
loop).
- Add benchmarks

Result:

On the isolated event loop, in micro benchmarks:
- scheduleTask is ~1.6x faster
- scheduleCallback is ~2x faster
2026-07-23 11:26:58 +01:00
..
2026-04-09 09:59:19 +00:00
2023-10-08 13:31:22 -07:00
2026-04-09 09:59:19 +00:00