js-refactor
js-refactor copied to clipboard
Slow startup time
I just noticed that JS Refactor is one of the main reasons why my Atom needs so long to start up. According to the Package page it adds 1300ms to my startup time while the "base" Refactor package only takes 90ms.
Maybe there is a way to quickly start and only load/process the heavy items when someone decides to use the plugin for a project?
I'm using Windows 8 and 10.
This is still an issue. The refactor package only adds 271ms to start-up - acceptable for the considerable value. js-refactor adds 4730ms.
Windows 7 64bit.
Activation hooks look like a good approach. This will let the package load only when it's required (ie. a JS document is being used). This doesn't replace actual optimisation, but it removes the time cost when not using JS.