atom-build icon indicating copy to clipboard operation
atom-build copied to clipboard

This package added 263ms to startup time ...

Open maffl-dev opened this issue 9 years ago • 3 comments

As the title says, it's a bit slow compared to other packages. Is there a way we can improve this?

maffl-dev avatar Sep 02 '16 13:09 maffl-dev

Several improvements has been done already. It was down to sub 100ms at some point. I'm sure it can be optimized further!

noseglid avatar Sep 02 '16 13:09 noseglid

I really love this package and even with the startup time I will still use it. Now I updated to the latest version which automatically installed 'busy' which also has a startup time of 103 ms ... Probably it's a good idea to profile the bottleneck.

edit: ok, for busy that was just the first startup. now down to 7ms.

maffl-dev avatar Sep 02 '16 13:09 maffl-dev

It makes sense it takes longer the first time, it's transpiling the es6 javascript files.

Any help and PRs on startup time optimizations are welcome.

noseglid avatar Sep 06 '16 08:09 noseglid