-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Extension manager occupys CPU so high when long time loading. #10432
Comments
Yes, I can see the progress icon. It's animated. |
@heeroluo So just to clarify... does the spinner eventually disappear, and you see the list of extensions in its place? Does CPU use stay high if you leave it sitting there showing the list of extensions? Is it actually frozen -- that is, you're not able to click/scroll inside the Extension Manager popup? If so, how are you closing it? Also -- what hardware & OS version is your computer? |
The CPU stay high only during loading. My computer is Macbook Pro(Late 2013): |
Ok, so: the CPU use is only high while the loading animation is shown. After the animation is replaced with the list of extensions, CPU use goes back to normal and stays normal until you close Extension Manager. Is that correct? How long is the loading animation shown? How high is the CPU usage? When I first open Extension Manager, Brackets CPU use goes up to 5% for about 4-5 seconds while showing the spinner. I would call that normal behavior. How different are the numbers you're seeing? |
@heeroluo, can you try a few more things?
Thanks! |
|
I think the problem is that the .spinner class uses transform to dynamically rotate an image. I suspect that it does not perform well on systems that don't have gpu support. FWIW, the spinner originally used transforms, but I converted it to a sprite sheet for this exact reason, but it looks like @marcelgerber converted it back to a transform in this commit (PR #7304). |
By the way, the same problem happens when downloading extension. |
@redmunds Oh, I didn't know that. Yeah, I indeed went back from sprites to transforms when we changed it to the Brackets-style spinner. @heeroluo It's probably enough to post a screenshot of your Timeline tab, but make sure the pie chart on the bottom is visible. |
@marcelgerber Did you get a chance to delve more into this issue? From the above pie chart, it looks like scripting is what is reported as the top most area for the slow down. |
@nethip You can't really trust the pie chart in this case... it only shows the first 11.1 ms. Actually, the timeline doesn't look too different from what I get here (Windows 8.1 x64), it's just that downloading (the time before actually processing all those entries, which is the long yellow/blue bar) takes a whole lot longer in your case. |
I have the same problem with my macbook retina 13 (late 2013), osx version is 10.11.2 and brackets version is 1.5.0-16538 I thought the cpu 100% problem is due to the logo animation in extension manager when the animation is stop, cpu useage falls down to normal quickly So does there have any configuration can disable this animation? |
No description provided.
The text was updated successfully, but these errors were encountered: