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.
expect(mountCall[2]).toBe(flagEnabled && __DEV__ ? 49 : 39);
            
            expect(mountCall[3]).toBe(22);
            
            expect(mountCall[4]).toBe(5);
            
            expect(mountCall[5]).toBe(flagEnabled && __DEV__ ? 54 : 44);
          });
          it('should reset the fiber stack correct after a "complete" phase error', () => {
            jest.resetModules();
            loadModules({
              useNoopRenderer: true,
              replayFailedUnitOfWorkWithInvokeGuardedCallback: flagEnabled,
            });
            
            
            ReactNoop.render(
              <React.unstable_Profiler id="profiler" onRender={jest.fn()}>
                <errorInCompletePhase>hi</errorInCompletePhase>
              </React.unstable_Profiler>,
            );
            expect(ReactNoop.flush).toThrow('Error in host config.');
            
            
            ReactNoop.render(
              <React.unstable_Profiler id="profiler" onRender={jest.fn()}>
                <errorInCompletePhase>
                  <span>hi</span>
                </errorInCompletePhase>
              </React.unstable_Profiler>,