noseglid / atom-build

:hammer: Build your project directly from the Atom editor
https://atom.io/packages/build
MIT License
248 stars 97 forks source link

This package added 263ms to startup time ... #469

Open frameland opened 8 years ago

frameland commented 8 years ago

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

noseglid commented 8 years ago

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

frameland commented 8 years ago

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.

noseglid commented 8 years ago

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.