theseus icon indicating copy to clipboard operation
theseus copied to clipboard

High CPU usage on Mac OS X 10.8.4

Open tiye opened this issue 11 years ago • 5 comments

Brackets 29.. I like this extension, but every time I open it, the CPU usage shows more than 20% of CPU usage is used even I'm not debugging.

cpu

tiye avatar Aug 29 '13 11:08 tiye

Can you try disabling the extension? Brackets does that for me all by itself because of tern, its JavaScript intelligence engine.

alltom avatar Aug 29 '13 14:08 alltom

@alltom I used to remove that extension and reinstall when I need it. Hopefully the installing process is fast.

tiye avatar Aug 29 '13 15:08 tiye

Interesting! Would you be able to collect a profile for me so I can see what the hot spots are on your computer?

Open the developer tools for your Brackets window: image

Then start a profile from the Profiles tab, stopping it after a few seconds: image

Then expand the tree to show where it's spending most time. This is a profile I just corrected, with some hot spots revealed that I'll look into first: image

It looks like you can also save them, so actually, do that and upload it here if you don't mind: image

Thanks for the report!

alltom avatar Aug 29 '13 15:08 alltom

@alltom I recognize that in Chrome, but seems the version on web page is not the same. I only got these pictures: screen shot 2013-08-29 at 11 57 56 pm screen shot 2013-08-30 at 12 07 06 am screen shot 2013-08-30 at 12 08 06 am

And when I try debug my JS code: screen shot 2013-08-30 at 12 11 13 am

tiye avatar Aug 29 '13 16:08 tiye

Thanks! I'll check this out and see what I can do.

alltom avatar Aug 29 '13 16:08 alltom