sublime-import-cost
sublime-import-cost copied to clipboard
Performance
It hangs and sometimes crashes Sublime for files with a lot of imports. Can it be executed async? Even when using cmd+p searching files it makes Sublime hang.
Yeah, the performance is definitely a problem ... I used the async plugin hooks, but I think the node bridge might be synchronous atm. There is a minor improvement on the latest master, but still not satisfying. Will definitely try to find a solution for this when I find the time 👍
I want to trigger manually import cost instead of by default. I don't need to check it all the time, just after installing one package or reviewing some code.