While working on the DevTools profiler, I've noticed that durations are sometimes incorrect. This seems to be vaguely related to high/low priority state updates. Need to track this down more so I'm filing an issue for myself.
if (enableSuspense && timeoutHandle !== noTimeout) {
        root.timeoutHandle = noTimeout;
        
        cancelTimeout(timeoutHandle);
      }
      const isYieldy = false;
      renderRoot(root, isYieldy, isExpired);
      finishedWork = root.finishedWork;
      if (finishedWork !== null) {
        
        completeRoot(root, finishedWork, expirationTime);
      }
    }
  } else {
    
    let finishedWork = root.finishedWork;
    if (finishedWork !== null) {
      
      completeRoot(root, finishedWork, expirationTime);
    } else {
      root.finishedWork = null;
      
      
      const timeoutHandle = root.timeoutHandle;
      if (enableSuspense && timeoutHandle !== noTimeout) {
        root.timeoutHandle = noTimeout;
        
        cancelTimeout(timeoutHandle);
      }
      const isYieldy = true;