Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console.log slowness in complex documents #206

Closed
bomberstudios opened this issue Jun 11, 2018 · 0 comments · Fixed by #208
Closed

console.log slowness in complex documents #206

bomberstudios opened this issue Jun 11, 2018 · 0 comments · Fixed by #208

Comments

@bomberstudios
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant