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.
ReactTestRenderer.unstable_yield(
              'SecondComponent:' + this.state.renderTime,
            );
            return <Yield renderTime={7} />;
          }
        }
        advanceTimeBy(5); 
        const renderer = ReactTestRenderer.create(
          <React.unstable_Profiler id="test" onRender={callback} foo="1">
            <FirstComponent />
            <SecondComponent />
          </React.unstable_Profiler>,
          {unstable_isAsync: true},
        );
        
        
        
        expect(renderer).toFlushAll([
          'FirstComponent:1',
          'Yield:4',
          'SecondComponent:2',
          'Yield:7',
        ]);
        expect(callback).toHaveBeenCalledTimes(1);
        let call = callback.mock.calls[0];
        expect(call[2]).toBe(14); 
        expect(call[3]).toBe(14); 
        expect(call[4]).toBe(5); 
        expect(call[5]).toBe(19); 
        callback.mockClear();