I was testing latest refactor of PerfTools.
When using printOperations() often (but not always) I get 

```
Uncaught TypeError: Cannot read property 'displayName' of undefined
```

in getOperations() on the line:

```
var {displayName, ownerID} = treeSnapshot[instanceID];
```

element = <div />;
      ReactDOM.render(<Foo />, node);
      assertHistoryMatches([]);
    });
  });
  describe('replace children', () => {
    it('gets recorded during an update from text content', () => {
      var node = document.createElement('div');
      ReactDOM.render(<div>Hi.</div>, node);
      var inst = ReactDOMComponentTree.getInstanceFromNode(node.firstChild);
      ReactNativeOperationHistoryDevtool.clearHistory();
      ReactDOM.render(
        <div dangerouslySetInnerHTML={{__html: 'Bye.'}} />,
        node
      );
      assertHistoryMatches([{
        instanceID: inst._debugID,
        type: 'replace children',
        payload: 'Bye.',
      }]);
    });
    it('gets recorded during an update from html', () => {
      var node = document.createElement('div');
      ReactDOM.render(
        <div dangerouslySetInnerHTML={{__html: 'Hi.'}} />,
        node
      );
      var inst = ReactDOMComponentTree.getInstanceFromNode(node.firstChild);
      ReactNativeOperationHistoryDevtool.clearHistory();
      ReactDOM.render(