[From the Profiler docs](https://reactjs.org/docs/profiler.html#onrender-callback):

> The Profiler requires an onRender function as a prop. React calls this function any time a component within the profiled tree “commits” an update.

However, given:

```jsx
import React from 'react'
import ReactDOM from 'react-dom'

function Counter() {
  const [count, setCount] = React.useState(0)
  const increment = () => setCount(c => c + 1)
  return <button onClick={increment}>{count}</button>
}

function App() {
  return (
    <div>
      <React.Profiler
        id="counter"
        onRender={() => console.log('called')}
      >
        <div>
          Profiled counter
          <Counter />
        </div>
      </React.Profiler>
      <div>
        Unprofiled counter
        <Counter />
      </div>
    </div>
  )
}

ReactDOM.render(<App />, document.getElementById('root'))
```

I'm getting a log when I click on the unprofiled counter.

Reproduction: https://codesandbox.io/s/react-codesandbox-tnff6

Am I misunderstanding this API, or is this a bug?
Scheduler.unstable_advanceTime(15); 
        renderer.update(
          <React.Profiler id="test" onRender={callback}>
            <WithLifecycles />
          </React.Profiler>,
        );
        expect(callback).toHaveBeenCalledTimes(2);
        const [mountCall, updateCall] = callback.mock.calls;
        expect(mountCall[1]).toBe('mount');
        expect(mountCall[2]).toBe(8); 
        expect(mountCall[3]).toBe(8); 
        expect(mountCall[4]).toBe(5); 
        expect(mountCall[5]).toBe(13); 
        expect(updateCall[1]).toBe('update');
        expect(updateCall[2]).toBe(15); 
        expect(updateCall[3]).toBe(15); 
        expect(updateCall[4]).toBe(28); 
        expect(updateCall[5]).toBe(43); 
      });
      describe('with regard to interruptions', () => {
        it('should accumulate actual time after a scheduling interruptions', () => {
          const callback = jest.fn();
          const Yield = ({renderTime}) => {
            Scheduler.unstable_advanceTime(renderTime);
            Scheduler.unstable_yieldValue('Yield:' + renderTime);
            return null;
          };
          Scheduler.unstable_advanceTime(5); 
          
          ReactTestRenderer.create(