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 nextProps.shouldComponentUpdate;
        }
        render() {
          
          advanceTimeBy(this.props.byAmount);
          return this.props.children || null;
        }
      };
    });
    it('is not invoked until the commit phase', () => {
      const callback = jest.fn();
      const Yield = ({value}) => {
        ReactTestRenderer.unstable_yield(value);
        return null;
      };
      const renderer = ReactTestRenderer.create(
        <React.unstable_Profiler id="test" onRender={callback}>
          <Yield value="first" />
          <Yield value="last" />
        </React.unstable_Profiler>,
        {
          unstable_isAsync: true,
        },
      );
      
      expect(renderer).toFlushThrough(['first']);
      expect(callback).toHaveBeenCalledTimes(0);