However, we modified the interval implementation to instead have a fixed loop timeout interval of LOOP_TIMEOUT_INTERVAL_MS.
We then would consider that iteration a stall when the total time for that interval to run is greater than LOOP_TIMEOUT_INTERVAL_MS + minimumStallThreshold
Stall measurement tracker inspired by the
JSEventLoopWatchdogused internally in React Native: https://github.com/facebook/react-native/blob/006f5afe120c290a37cf6ff896748fbc062bf7ed/Libraries/Interaction/JSEventLoopWatchdog.jsHowever, we modified the interval implementation to instead have a fixed loop timeout interval of
LOOP_TIMEOUT_INTERVAL_MS. We then would consider that iteration a stall when the total time for that interval to run is greater thanLOOP_TIMEOUT_INTERVAL_MS + minimumStallThreshold