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.
const type = workInProgress.type;
      if (current !== null && workInProgress.stateNode != null) {
        
        
        const oldProps = current.memoizedProps;
        
        
        
        
        const instance: Instance = workInProgress.stateNode;
        const currentHostContext = getHostContext();
        
        
        
        const updatePayload = prepareUpdate(
          instance,
          type,
          oldProps,
          newProps,
          rootContainerInstance,
          currentHostContext,
        );
        updateHostComponent(
          current,
          workInProgress,
          updatePayload,
          type,
          oldProps,
          newProps,
          rootContainerInstance,