You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
The current plan is to investigate what is slow on startup, optimize it, and then investigate concatenating all the CoffeeScript requires to save eval time on startup.
Merged Changes
Times below are were taken with a Macbook Pro on OS X 10.8.5 with 2.6 Ghz Intel Core i7 processors and 16 GB of memory
You may want to look at fast.js. Many parts of coffeescript use push where direct assignment is faster when the array size is known. In array comprehensions without an "if" conditional, the final array is known and should fast.js techniques.
Async package loading would be really great!
On some packages I try to cheat at the activation time by adding a timeout and executing the activation code 5 seconds later to shorten the time until I see the editor window. I would love If one could specify when the package has to be loaded and activated in the package.json in cases where activationCommands are not an option.
E.g.
sync loading before editor is shown or
async loading in the background after the editor is ready and already shown to the user.
As a quick fix atom editor should have a background service like chrome does, this a simple solution that should work even with lots of packages and improve the experience on non SSD owners. Service mode could have an enable/disable option for people who might be short on RAM, but now days a small service running in the background shouldn't be an issue for any hardware. This doesn't mean startup improvement efforts should be halted, nevertheless atom as a service should be a option no matter the startup time.
I think atom is awesome, and js (and friends) as the GUI is a perfect choice, with all the promised "hackability" and beauty only achievable by a cornucopia of options, but IMO most user, including me will be drawback by the current startup speed ~4s.
A text editor, no matter how many cool things it has, will fail as a text editor if startup time is >1s simply because the experience is not acceptable compared to other native apps, this fact won't pass unnoticed to most people, but once again its just my constructive opinion.
Suggestion: i have disabled some packages for faster startup, now if i could toggle them from the Shift+Ctrl P menu, that would be a great addition for me (But not as default tho), also would it be possible for a deamon to keep it running in background?
Reacted by Kwarrtz, Loïc Escales, Gus Dunn, Sean Bannister and Balder
Any thoughts on incorporating something like #4293 to get the editor displaying faster up-front? Or adding an option on the plugins to delay their startup?
This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of Atom
Comment that the issue is still reproducible and include:
What version of Atom you reproduced the issue on
What OS and version you reproduced the issue on
What steps you followed to reproduce the issue
Issues that are labeled as triaged will not be automatically marked as stale.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
YurySolovyov commentedon Oct 1, 2014
You can also take a look at electron/electron#251, maybe you can get some speed there.
ilanbiala commentedon Oct 2, 2014
Looks really awesome so far. Are these changes available in the latest releases of Atom, or are they only going to be available in 1.0?
winstliu commentedon Oct 2, 2014
The listed changes have already been merged, and I'm pretty sure they're all in 0.133.0.
kevinsawicki commentedon Oct 2, 2014
Yup, they are all in the latest release
kevinsawicki commentedon Oct 6, 2014
Moving this back to on-deck since nothing specific to this issue is being worked on this week.
tjfwalker commentedon Oct 24, 2014
Startup-time is my biggest and only serious gripe with Atom. All improvements are much appreciated.
backspaces commentedon Oct 24, 2014
You may want to look at fast.js. Many parts of coffeescript use push where direct assignment is faster when the array size is known. In array comprehensions without an "if" conditional, the final array is known and should fast.js techniques.
kevinsawicki commentedon Oct 24, 2014
@backspaces Thanks for the tip, looking into fast.js
34 remaining items
jpxd commentedon Aug 19, 2015
Async package loading would be really great!
On some packages I try to cheat at the activation time by adding a timeout and executing the activation code 5 seconds later to shorten the time until I see the editor window. I would love If one could specify when the package has to be loaded and activated in the
package.jsonin cases whereactivationCommandsare not an option.E.g.
sync loading before editor is shown or
async loading in the background after the editor is ready and already shown to the user.
lethevimlet commentedon Nov 10, 2015
As a quick fix atom editor should have a background service like chrome does, this a simple solution that should work even with lots of packages and improve the experience on non SSD owners. Service mode could have an enable/disable option for people who might be short on RAM, but now days a small service running in the background shouldn't be an issue for any hardware. This doesn't mean startup improvement efforts should be halted, nevertheless atom as a service should be a option no matter the startup time.
I think atom is awesome, and js (and friends) as the GUI is a perfect choice, with all the promised "hackability" and beauty only achievable by a cornucopia of options, but IMO most user, including me will be drawback by the current startup speed ~4s.
A text editor, no matter how many cool things it has, will fail as a text editor if startup time is >1s simply because the experience is not acceptable compared to other native apps, this fact won't pass unnoticed to most people, but once again its just my constructive opinion.
benogle commentedon Nov 10, 2015
Note that there are a few huge speedups coming up in the next couple versions of atom:
Startup speed is @as-cii's full time focus right now. He is finding and improving things weekly, so keep an eye out for new stuff!
lethevimlet commentedon Nov 10, 2015
Great!, looking forward to it, nice work.
tomByrer commentedon Jan 8, 2016
When measuring speed, might want to factor in Chrome's garbage collection services.
ilanbiala commentedon Mar 30, 2016
@benogle any update on this?
passeride commentedon Dec 9, 2016
Suggestion: i have disabled some packages for faster startup, now if i could toggle them from the Shift+Ctrl P menu, that would be a great addition for me (But not as default tho), also would it be possible for a deamon to keep it running in background?
Tzrlk commentedon Mar 8, 2017
Any thoughts on incorporating something like #4293 to get the editor displaying faster up-front? Or adding an option on the plugins to delay their startup?
Additionally, have you thought about using something like http://rollupjs.org/ for tree-shaking? Certainly running a tree-shake, minify and bundle as a runtime cache per combination of plugins should get subsequent load times up a bit?
winstliu commentedon Mar 8, 2017
We are actively working on this in #13949, #13940, #13916, and other PRs.
stale commentedon Mar 8, 2018
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:
Issues that are labeled as triaged will not be automatically marked as stale.
lock commentedon Sep 18, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!