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)

if (id !== '') {
        measurement.hierarchy[id].forEach((c) => dirtyComposites[c] = true);
      }
    });
  });
  var allIDs = Object.assign({}, measurement.exclusive, measurement.inclusive);
  for (var id in allIDs) {
    var isDirty = false;
    
    if (dirtyComposites[id]) {
      isDirty = true;
    }
    
    if (measurement.created[id]) {
      isDirty = true;
    }
    if (!isDirty && measurement.counts[id] > 0) {
      cleanComponents[id] = true;
    }
  }
  return cleanComponents;
}
var ReactDefaultPerfAnalysis = {
  getExclusiveSummary: getExclusiveSummary,
  getInclusiveSummary: getInclusiveSummary,
  getDOMSummary: getDOMSummary,
  getTotalTime: getTotalTime,
};
module.exports = ReactDefaultPerfAnalysis;