Calling `ReactDefaultPerf.printWasted()` results in:

```
Uncaught TypeError: Cannot read property 'forEach' of undefined
writes.(anonymous function).forEach @ ReactDefaultPerfAnalysis.js:195
Object.keys.forEach @ ReactDefaultPerfAnalysis.js:192
getUnchangedComponents @ ReactDefaultPerfAnalysis.js:191
getInclusiveSummary @ ReactDefaultPerfAnalysis.js:139
ReactDefaultPerf.getMeasurementsSummaryMap @ ReactDefaultPerf.js:118
ReactDefaultPerf.printWasted @ ReactDefaultPerf.js:133
```

(this is on a page internally at Facebook so I assume it's a fairly recent React version)

it('putListener should not be instrumented', function() {
    var container = document.createElement('div');
    ReactDOM.render(<Div onClick={function() {}}>hey</Div>, container);
    var measurements = measure(() => {
      ReactDOM.render(<Div onClick={function() {}}>hey</Div>, container);
    });
    var summary = ReactDefaultPerfAnalysis.getDOMSummary(measurements);
    expect(summary).toEqual([]);
  });
  it('deleteListener should not be instrumented', function() {
    var container = document.createElement('div');
    ReactDOM.render(<Div onClick={function() {}}>hey</Div>, container);
    var measurements = measure(() => {
      ReactDOM.render(<Div>hey</Div>, container);
    });
    var summary = ReactDefaultPerfAnalysis.getDOMSummary(measurements);
    expect(summary).toEqual([]);
  });
  it('should print a table after calling printOperations', function() {
    var container = document.createElement('div');
    var measurements = measure(() => {
      ReactDOM.render(<Div>hey</Div>, container);
    });
    spyOn(console, 'table');
    ReactDefaultPerf.printOperations(measurements);
    expect(console.table.calls.length).toBe(1);
    expect(console.table.argsForCall[0][0]).toEqual([{
      'data-reactid': '',
      type: 'set innerHTML',
      args: ReactDOMFeatureFlags.useCreateElement ?