-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Performance [metabug] #5847
Comments
It's interesting that you say that. Most people have actually been reporting that it's been getting faster in the latest versions, especially after the great improvements done by @as-cii and @nathansobo. So now here comes the normal questioning: "Large" file performance issues are being tracked in #307 and long line performance issues in #979-do you think this issue should be kept open for another reason? |
This is contrary to almost all measurements. I mean, we're not rendering entered text in a few microseconds or anything, but I don't think this is necessarily accurate in the general case. I'm not saying you're lying at all, though - I totally believe that it's getting slower for you and that's troubling because that means there are also probably other people experiencing this! @50Wliu's questions about atom version & safe mode are a good start to helping us figure out why you are seeing performance regressions.
We have been, and have been getting a lot of positive feedback about performance improvements ;) Let's figure out what's dragging your editor down and fix it! |
Oh, and perhaps a screenshot of the Timecop view (search for timecop in the command palette) |
It gets slower and slower as you add new packages. Use timecop to find I trim out my least-used packages periodically and Atom gets faster .. On Wed, Mar 4, 2015 at 5:38 PM, Daniel Hengeveld notifications@github.com
|
Thank you for the fast reply! First of all, I appreciate the work done by @nathansobo and @as-cii , keep the good job ;) Now, replying to your questions: This is release 186 and I'm running it in safe mode*. To be exact, I'm playing with latest SugarJS file. (get a copy from here: https://raw.githubusercontent.com/andrewplummer/Sugar/master/release/sugar-full.dev.js ) You'll notice that this in not a compressed js file, so Atom should be able to play nicely with it, but as soon as I open atom ( Anyways, going on with more numbers: as soon as I select, say, 100 lines and start playing with If I deliberately select a portion of code that, when removed/changed, will cause a major syntax highlight change to a vast portion of code (for example, the beginning of a block comment), I see that 12% CPU spike. Also, If I hit Resizing Atom's window: Let's play with another file! I have a 180kb Those are just a few examples. Overall, Atom just feels slow when doing things. *safe mode: I'm a developer, and I do understand why you keep asking users to turn it on. Hell, I do the same things whenever a user reports something buggy in my apps! That is how you differentiate between slow plugins and the editor itself doing strange stuff. But the truth is that it doesn't make any sense from user's point of view. I, as a user, should be able to use Atom with some of the most common plugins (minimap, git, autocomplete) without worrying about performance. Maybe a good strategy would be to actually make a "Top 10" plugins and work with their developers to erase slow codepaths. Just my 2 cents. And talking about autocomplete (that is |
Others may disagree with my feelings, but Atom is always going to be slower You were wrong about it getting slower. It is definitely improving On Wed, Mar 4, 2015 at 5:50 PM, Alexander Nestorov <notifications@github.com
|
@mark-hahn No sir. Your reasoning here is completely broken.
|
@alexandernst you may want to subscribe to this issue then (or poke it): #1873. |
@alexandernst a question and a few comments:
|
We're actively working on a new document model that should address many things you bring up. Nothing I've learned convinces me we can't be competitive with any existing editor, but we need to improve some algorithms at the core of the editor that are too naive. We focused on many aspects early on other than raw performance, and we've learned a lot as a team about how to achieve good performance over time. Now we're in the process of applying those lessons. That we've been able to get away with some of our naive solutions to the degree we have thus far is a credit to the web platform in my mind. When we apply more sophisticated approaches I think it will become evident that web technology is up to this task. Hang in there, or try Atom again when we get further along with optimization. Mainly I just want to say that we feel your pain and we're focused on alleviating it! |
@thedaniel You're right, this is Arch Linux, x64 with vanilla kernel and KDE5. Nice to hear that you work with external developers! Users will benefit from that ;) And about the hardware catching the software, that is the right path! Btw, just out of curiosity, what changes in Chrome 41 will help Atom? @nathansobo Indeed, the technology behind Atom isn't the problem and the proof of that is Brackets, which is based/build using pretty much the same technology/tools and it's fast enough. If Brackets can do it, Atom can do it too! I'm willing to try this new document model! Is there any issue/branch I can follow for this? Basically, keep up the good work, but don't forget that Atom can be much faster 👍 ;) |
@nathansobo does that new model intent to work well with large(huge?) files? |
Also, atom/text-document. |
May anyone who notices lag issues(for example when scrolling packages list) can try closing all atom windows and reopen it with the following switch:
In both my computers(radeon 6450 and laptop w internal intel graphics card) gpu acceleration only slows things down. |
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! |
Atom has been growing in features and plugins, but after each release it has been getting slower and slower. It is currently pretty much impossible (dog slow) to edit almost any larger file (even 200kb), with syntax highlight on and long lines (say 300 characters per line).
I see some, supposedly, optimizations (ReactJS, custom rendering, tweaks and what not), but I can barely see any real performance improvements.
I think the entire Atom user base will thank you if you could spend a few weeks performing noticeable tweaks in Atom.
The text was updated successfully, but these errors were encountered: