console.log slowness in complex documents
As mentioned in https://sketchplugins.com/d/855-console-log-very-slow-in-sketch-50

The amount of time that it takes to run this code:

```
const sketchDom = require("sketch/dom");
console.log(sketchDom.getSelectedDocument());
```

scales with document complexity. The built-in Material Design template takes 7+ seconds here (top of the line iMac 5k), but a more complex document like GreatSimple's Android UI Kit take more than 18 seconds to run.