brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Brackets really slows down with larger files #5315

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by stowball Friday Nov 01, 2013 at 05:46 GMT Originally opened as https://github.com/adobe/brackets/issues/5804


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

core-ai-bot commented 3 years ago

Comment by redmunds Sunday Nov 03, 2013 at 17:17 GMT


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.

core-ai-bot commented 3 years ago

Comment by redmunds Thursday Nov 07, 2013 at 17:31 GMT


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.

core-ai-bot commented 3 years ago

Comment by lkcampbell Friday Nov 08, 2013 at 00:43 GMT


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?

core-ai-bot commented 3 years ago

Comment by redmunds Friday Nov 08, 2013 at 00:47 GMT


@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.

core-ai-bot commented 3 years ago

Comment by lkcampbell Friday Nov 08, 2013 at 00:59 GMT


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

See https://github.com/DennisKehrig/brackets-show-whitespace/issues/12.

core-ai-bot commented 3 years ago

Comment by stowball Friday Nov 08, 2013 at 09:59 GMT


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.

core-ai-bot commented 3 years ago

Comment by lkcampbell Friday Nov 08, 2013 at 14:30 GMT


@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.