Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Brackets really slows down with larger files #5804

Closed
stowball opened this issue Nov 1, 2013 · 7 comments
Closed

Brackets really slows down with larger files #5804

stowball opened this issue Nov 1, 2013 · 7 comments

Comments

@stowball
Copy link
Contributor

stowball commented Nov 1, 2013

With largish files (a few hundred lines plus), Brackets is notibly less responsive with regards to moving about the document and code hints.

Take this file of my framework's Sass mixins. It's around 900 lines and as you'll see in this GIF screencast, all I'm doing is holding the Down Cursor. Notepad++ is much, much faster (you can see the cursor move on every line in reality), whereas Brackets really begins to stutter after a while. If you add in extensions, it comes to a complete crawl!

The extensions installed are shown in the attached image (there's no easy way to export their names unfortunately).

I moved to Brackets because of DW's woeful performance, but this is just as bad
brackets-installed-extensions

@redmunds
Copy link
Contributor

redmunds commented Nov 3, 2013

Thanks for giving Brackets a try.

We've looked at that case before, but I guess it's time to take another look. I notice that you have the cursor in column zero -- it's even worse at any other position :(

I haven't tried all of those extensions, but most of those extensions should not affect page rendering. Definitely turn off the Show Whitespace extension when not using it because it really slows things rendering.

@ghost ghost assigned redmunds Nov 3, 2013
@redmunds
Copy link
Contributor

redmunds commented Nov 7, 2013

I also wanted to mention that you can use Ctrl+up-arrow and Ctrl+down-arrow to scroll text in window a line at a time (i.e. no need to move cursor to top/bottom of screen to do that). These are keyboard-only commands, so they're not listed in menus and not easy to discover.

@lkcampbell
Copy link
Contributor

This might be a duplicate of issue #5000.

@stowball, can you try turning off Highlight Active Line in the View menu and let us know if it improves the performance?

@redmunds
Copy link
Contributor

redmunds commented Nov 8, 2013

@lkcampbell You beat me to the punch!
@stowball Yes, turn off Highlight Active Line and this is much faster.
Closing as a Duplicate of #5000.

@redmunds redmunds closed this as completed Nov 8, 2013
@lkcampbell
Copy link
Contributor

@stowball, also, like @redmunds mentioned, turn off Show White Space and that will help a lot.

See DennisKehrig/brackets-show-whitespace#12.

@stowball
Copy link
Contributor Author

stowball commented Nov 8, 2013

Wow, turning off Highlight Active Line really speeds things up! But you realise that's not a fix, right? Since it's a part of Brackets that I want to use!

Performance needs to be made a priority.

@lkcampbell
Copy link
Contributor

@stowball, correct, it's only a workaround. That and only toggling the Show Whitespace extension on when you need it.

I would like to see the issue resolved as well. I'm glad you submitted the screen captures, it really shows how significant the problem is.

It wasn't always like this. I believe the Windows jerky navigation problem was caused by the new CEF code introduced around Sprint 30. If you are interested in a comparison, check out Windows Sprint 28 or Sprint 29. The arrow navigation on those builds was as smooth as silk.

One other note. Extensions that tend to exacerbate the problem are extensions that make a lot of changes to the CodeMirror styles. My Indent Guides extension does it a little bit, Themes a bit more, and Show Whitespace is the most because it stylizes every single tab and space character.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants