Open Bug 1450474 Opened 8 years ago Updated 3 years ago

59.0.02 hogs CPU when accessing pages at dailykos.com whereas 59.0.01 does not.

Categories

(Core :: CSS Parsing and Computation, defect, P3)

59 Branch
defect

Tracking

()

People

(Reporter: jdbear77, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180315233128 Steps to reproduce: go to dailykos.com, access a few diaries Actual results: cpu hogging Expected results: cpu idle after load
I tried reproducing this issue. I do see while loading diaries CPU uses goes to 100 % sometimes but after page finishes loading it comes back to normal. I compared behavior with Chrome and observed less CPU usage in Chrome. So I am changing the bug status to new and placing it under Core:java script so dev can look into it.
Status: UNCONFIRMED → NEW
Component: Untriaged → JavaScript Engine
Ever confirmed: true
Product: Firefox → Core
Thanks for the bug report, J. D. BEAR. I can't reproduce this at all in Nightly. CPU doesn't go over 7% for me. kkumari, is this happening for you in Firefox Nightly? Can you please capture a profile using <https://perf-html.io/>?
Flags: needinfo?(kkumari)
Please note, I am testing on win 7 x 64 virtual machine. I used Firefox 59. Here is captured profile: https://perfht.ml/2q6heQj
Flags: needinfo?(kkumari)
kkumari, the link in comment 3 doesn't work for me. Could you capture a profile again, please?
Flags: needinfo?(kkumari)
https://perfht.ml/2q4MPll I am attaching profile json file too in case you are unable to access it again.
Flags: needinfo?(kkumari)
Hmm. The link doesn't work for me and there's no attachment.
Flags: needinfo?(kkumari)
Sorry, It didn't attach due to it's large size(see bug 1453829). Now I compressed it and attaching. Hope this helps. BTW I checked with my co-workers above links work for them.
Flags: needinfo?(kkumari)
Thank you very much, kkumari. This was my fault -- I had an addon that interfered with the links you sent.
Ehsan, would you mind looking at the profile in comment 5? There is clearly slowness, but I can't tell what's causing it. May or may not be JS.
Flags: needinfo?(ehsan)
Whiteboard: [qf]
Priority: -- → P3
Component: JavaScript Engine → CSS Parsing and Computation
There is something a bit bad with style computation (content process 4). But the profile is really old. (And the profile does have some JS and innerHTML stuff too.) Emilio, does the profile ring any bells?
Flags: needinfo?(emilio)
Whiteboard: [qf]
The two first big restyles are after stylesheets have loaded. The third one is a bit odd, we're turning designMode on / off, and EditingStateChanged is doing all sorts of slow stuff removing and adding UA sheets... But nothing more worrisome than that I'd think.
Flags: needinfo?(emilio)
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(ehsan.akhgari)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: