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.
current: Fiber | null,
  workInProgress: Fiber,
  shouldUpdate: boolean,
  hasContext: boolean,
  renderExpirationTime: ExpirationTime,
) {
  
  markRef(current, workInProgress);
  const didCaptureError = (workInProgress.effectTag & DidCapture) !== NoEffect;
  if (!shouldUpdate && !didCaptureError) {
    
    if (hasContext) {
      invalidateContextProvider(workInProgress, false);
    }
    return bailoutOnAlreadyFinishedWork(
      current,
      workInProgress,
      renderExpirationTime,
    );
  }
  const ctor = workInProgress.type;
  const instance = workInProgress.stateNode;