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.
return null;
      }
    } else {
      
      
      
      const next = unwindWork(workInProgress, nextRenderExpirationTime);
      
      if (workInProgress.effectTag & DidCapture) {
        
        stopFailedWorkTimer(workInProgress);
      } else {
        stopWorkTimer(workInProgress);
      }
      if (__DEV__) {
        ReactCurrentFiber.resetCurrentFiber();
      }
      if (next !== null) {
        stopWorkTimer(workInProgress);
        if (__DEV__ && ReactFiberInstrumentation.debugTool) {
          ReactFiberInstrumentation.debugTool.onCompleteWork(workInProgress);
        }
        
        
         Since we're restarting, remove anything that is not a host effect
         from the effect tag.
        next.effectTag &= HostEffectMask;
        return next;
      }