Open Bug 902374 Opened 13 years ago Updated 4 years ago

Lots of time spent in __CFRunLoopDoObservers

Categories

(Firefox :: General, defect)

25 Branch
x86_64
Windows 8
defect

Tracking

()

People

(Reporter: ezh, Unassigned)

Details

(Keywords: perf)

http://www.ox.ee/kysimused-ja-vastused 1. Open the page. 2. See the CPU usage is getting between 15-30%. 3. Even when the page is in the background there is a higher CPU usage. 4. In Opera, Chrome and IE there is no such a problem. The reason is the chat windows at the bottom of the page (the green "Küsige konsultandilt") - www.redhelper.ru PS On the Russian page is a slightly simplier code but with same CPU usage: http://www.ox.ee/voprosy_otverty
It was a problem on Aurora 24 and remains on Aurora 25.
I know this was reported for Aurora, but I'm not seeing this with the latest Win64 Nightly, CPU usage is less than 1%. Just FYI.
Version: unspecified → 25 Branch
Aurora 25 20130806 actually was a Nightly. It was a first build on Aurora 25. I'll try the nightly as well.
The same on 26.0a1 (2013-08-08). This (and only one) page opened: 0,3-1,1% CPU used http://www.ox.ee/kysimused-ja-vastused Opened in background: 4,6-7% (up to 12%) Opened in foreground: 10-19% Intel Core i5 M450 @2.4GHz on other computer is a AMD X4 Phenom with about same results.
Both URLs are WFM on a recent Nightly. Still an Issue for you?
Flags: needinfo?(ezh)
I need to check on my notebook.
Yes, I do see slowness and sluggishness when 2+ pages with the chat window are open for some time. When I see FF going slow I check to close: - tabs with Redhelper chat on it (www.ox.ee for example) - tabs with Facebook chat on it You can try to lease those pages open overnight. Come at the morning and FF is awful slow even in scrolling. Closing it makes FF feel as normal. If you wish I can do a video.
Flags: needinfo?(ezh)
Can you check if this is related to the Session Restore feature maybe? Like size of sessionstore, if disabling it helps, etc. Also see Bug 934934/Bug 934935 and friends
I had overnight open 3 tabs with redhelper on it. At the morning I got 33% CPU usage and practically unresponsive FF. Waited about 3 minutes to close those tabs and FF works again perfectly.
I'm really no programmer, just a advanced user, so I cannot decide if those bugs are related.
Eugene, could you install https://addons.mozilla.org/en-US/firefox/addon/about-sessionstore/ and send us the information at address "about:sessionstore"? Please make sure that you are doing this from a new profile, as the data printed by about:sessionstore can contain private data, including data from recently closed windows.
Actually, no need to. I have looked and the CPU usage doesn't seem related to session restore. Here is the profile: http://people.mozilla.org/~bgirard/cleopatra/#report=2bbfa2122793cfd4f33806c4db74d1320e5c6ae0
Keywords: perf
Summary: High CPU usage with a redhelper.ru chat on a page → Lots of time spent in __CFRunLoopDoObservers
Any news regarding this?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.