Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Mac OSX Performance #5788

Open
core-ai-bot opened this issue Aug 30, 2021 · 18 comments
Open

[CLOSED] Mac OSX Performance #5788

core-ai-bot opened this issue Aug 30, 2021 · 18 comments

Comments

@core-ai-bot
Copy link
Member

Issue by GymbylCoding
Saturday Jan 04, 2014 at 19:23 GMT
Originally opened as adobe/brackets#6365


Brackets opens up fine, but the instant I start editing a file (of even tiny proportions), the typing, scrolling, and arrow navigation is so slow it's completely unusable. For a while after opening it, things run only relatively slowly (about 100-200 ms delays between key press and text modification), but then it quickly deteriorates. All my other applications run fine, so it doesn't seem to be the memory on my computer.

I recently upgraded to Mavericks, hoping that would be the solution, but no. All releases of Brackets have done the same thing.

@core-ai-bot
Copy link
Member Author

Comment by zhouyixiang
Thursday Jan 09, 2014 at 08:34 GMT


I have the same issue. My system is Mavericks and I use Chrome with Brackets for developing. Brackets becomes slower and slower during development and finally gets no responding. I can see there're bracket helper processes in the Activity Monitor, one consumes 100% CPU and the other is not responding.

@core-ai-bot
Copy link
Member Author

Comment by sbruchmann
Thursday Jan 09, 2014 at 09:35 GMT


This is also reproducible for me on Mac OS 10.7.5.

@core-ai-bot
Copy link
Member Author

Comment by njx
Thursday Jan 09, 2014 at 18:54 GMT


That doesn't sound good. Could each of you respond with a list of extensions you have installed (if any)?

@core-ai-bot
Copy link
Member Author

Comment by GymbylCoding
Thursday Jan 09, 2014 at 19:52 GMT


Code folding, delete to line start/end, and live markdown preview. I just uninstalled them all, though, and it's still slow.

Strange, though - for me, Activity Monitor shows Brackets uses only 0.1% of the computer's memory.

@core-ai-bot
Copy link
Member Author

Comment by sbruchmann
Thursday Jan 09, 2014 at 20:50 GMT


I disabled all user extensions, but the problem still exists.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Thursday Jan 09, 2014 at 21:20 GMT


Additional questions:

  • What version of Brackets are you using? (If you've seen this with multiple versions, please let us know that too)
  • Does this occur even when you're editing a plain .txt file? Or only specific file types?
  • If you make a new empty folder containing a single plain .txt file, and use File > Open Folder to open just that one folder (so there's only one thing listed in the file tree on the left side), does the problem still occur?

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Thursday Jan 09, 2014 at 21:24 GMT


Btw@GymbylCoding, how are you estimating the delay when pressing keys? 100 ms is extremely short -- in fact it'd be hard to find any text editor with a delay much less than that -- and it should feel essentially instantaneous to the naked eye. (200 ms on the other hand can feel noticeably laggy).

@core-ai-bot
Copy link
Member Author

Comment by GymbylCoding
Thursday Jan 09, 2014 at 21:46 GMT


  • Issue is occurring with every version of Brackets I've downloaded since Sprint 29 (which is when I first got Brackets), which would be 29, 30, 31, and 35
  • I've tested it with .txt, .js, .css, .html, and .lua and they all have the same problem
  • Still have the problem

For a while (or when I have a tiny file open), it'll be quite responsive, sometimes perfect (on the level of TextEdit - not quite that of Sublime, but quite close), but often slipping into more like 200 ms. I've noticed it especially slows down when I navigate by holding down the arrow keys. I've also found (naturally) a connection between any file over about 30 lines and the speed issue. Each new line seems to slow it down incrementally, but after 30 or 40, it gets noticeable. There isn't the same connection (as far as I can tell) with columns - tried ten lines with 470 columns each, and it's perfectly responsive.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Thursday Jan 09, 2014 at 21:55 GMT


@GymbylCoding Can you try unchecking View > Highlight Active Line and see if that makes any difference?

@core-ai-bot
Copy link
Member Author

Comment by GymbylCoding
Thursday Jan 09, 2014 at 23:37 GMT


With View > Highlight Active Line disabled, Brackets is completely responsive and fast. Thanks so much for help with this issue!

@core-ai-bot
Copy link
Member Author

Comment by njx
Thursday Jan 09, 2014 at 23:48 GMT


I'm wondering if we should take that feature out for now (or highly prioritize figuring out what the heck is going on with it). We've had so many reports of performance problems with it on.

Other folks on this thread - could you verify that the problems you're having are also related to Highlight Active Line? If not, we might want to split out a separate bug.

@core-ai-bot
Copy link
Member Author

Comment by njx
Thursday Jan 09, 2014 at 23:50 GMT


See existing bug #5000. I'll nominate that bug to get looked at soon (and tagged this bug in that bug so we can look at it too).

@core-ai-bot
Copy link
Member Author

Comment by TuckerWhitehouse
Friday Jan 10, 2014 at 01:26 GMT


Just to add, I too have been experiencing performance issues (and I do not have Highlight Active Line enabled).
Running the latest from git (compiling the shell as well) on OS X Mavericks.
The issue also occurs with user extensions disabled.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Friday Jan 10, 2014 at 01:34 GMT


@TuckerWhitehouse Could you file a new bug so we can investigate that separately, then? If you can, please include answers to the questions I listed in this comment above.

@core-ai-bot
Copy link
Member Author

Comment by sbruchmann
Friday Jan 10, 2014 at 05:59 GMT


I’m always pulling from the latest master branch of Brackets and brackets-shell. Unfortunately, I don’t remember exactly at which point the bug was introduced, but I think it was in Sprint 29, as@GymbylCoding mentioned.

After disabling Highlight Active Line and all user extensions, removing all projects and creating a blank folder, Brackets became more responsive in plain text files. However, as soon as I edited a JavaScript file with about 50 lines, typing became much slower and laggy. Highlight Active Line definitely slows things down, but the culprit for the initial bug report might be CodeHints.

@core-ai-bot
Copy link
Member Author

Comment by njx
Monday Jan 13, 2014 at 19:00 GMT


At this point it sounds like the original filer@GymbylCoding's bug has been fixed, so we can close this specific bug.@TuckerWhitehouse has filed a separate bug for his issue.

@sbruchmann, since your issue wasn't fixed by turning off Highlight Active Line, could you look at@TuckerWhitehouse's bug (#6457) and see if it seems similar to yours, and if not, file a new bug describing what you're seeing? If possible, filing the last test case you described (with a small project and a small JS file) would be very helpful. Thanks!

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Monday Jan 13, 2014 at 19:10 GMT


FYI,@TuckerWhitehouse already ruled out Code Hints on his bug. @sbruchmann, you can use the same process I described in issue #6457 to rule in or rule out Code Hints as a culprit. If you find Code Hints are the culprit, that may be a different issue again. If you rule out Code Hints, you might be seeing the same problem.

@core-ai-bot
Copy link
Member Author

Comment by IKKYU-san
Wednesday Jan 29, 2014 at 18:33 GMT


Ive noticed pretty much all pages that use alot of javascript or my own javascript games, make the google chrome helper use 100% cpu and overheat my mac. So i dont think the problem is with brackets but instead with chrome.

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

No branches or pull requests

1 participant