Closed
Bug 786940
Opened 12 years ago
Closed 11 years ago
Something causes occasionally lots of runnables in event loop
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: smaug, Assigned: smaug)
References
Details
(Whiteboard: [Snappy:p3])
This seems to happen especially after session restore, and especially when restoring multiple tabs at once.
I've seen this behavior few times during last 2 or 3 weeks.
Does chrome end up using setTimeout or setInterval a lot?
Assignee | ||
Comment 1•12 years ago
|
||
But I think latest Nighlies are very bad.
Assignee | ||
Updated•12 years ago
|
tracking-firefox17:
--- → ?
tracking-firefox18:
--- → ?
Assignee | ||
Updated•12 years ago
|
Summary: Something causes occasionally lots of timer event in event loop → Something causes occasionally lots of timer events in event loop
So what I was seeing was that there were three articles on nytimes.com in my saved session, and nytimes.com now has something in its articles that constantly reloads an iframe -- and I think chrome does something when iframes are loaded. Or something like that; I didn't look into it very closely. But in any case, closing those three pages fixed the problem I was seeing.
Comment 3•12 years ago
|
||
pageShowEventHandlers runs off a timeout in response to all pageshow events. It's a no-op when the pageshow event is for a subframe. We could avoid setting the timeout entirely in that case.
Comment 4•12 years ago
|
||
I don't think this will be a significant user facing issue given bug 711193. Please re-nom if you strongly disagree.
Updated•12 years ago
|
Assignee | ||
Comment 5•12 years ago
|
||
Got this again. Super-annoying. I wish I had a profiler which could give some hints what causes the problem.
Whiteboard: [Snappy]
Comment 6•12 years ago
|
||
Tim, why do you disagree? How many users do you expect to be affected by this?
Comment 7•12 years ago
|
||
(In reply to Lukas Blakk [:lsblakk] from comment #6)
> Tim, why do you disagree? How many users do you expect to be affected by
> this?
Sorry, I didn't do this on purpose :( I just wanted to add myself to the CC list and unfortunately can't fix the flags myself.
Assignee | ||
Comment 8•12 years ago
|
||
When this happens, user experience is horrible. FF UI becomes slow, and FF eats all the battery
(when using laptop).
Updated•12 years ago
|
Comment 9•12 years ago
|
||
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #3)
> pageShowEventHandlers runs off a timeout in response to all pageshow events.
> It's a no-op when the pageshow event is for a subframe. We could avoid
> setting the timeout entirely in that case.
This was fixed in bug 780594.
Smaug, did that help at all?
Assignee | ||
Comment 10•12 years ago
|
||
Testing...
Assignee | ||
Comment 11•12 years ago
|
||
So far looking good.
Assignee | ||
Comment 12•12 years ago
|
||
Bah, got it again, and when it happens FF drains all the battery.
Comment 13•12 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #12)
> Bah, got it again, and when it happens FF drains all the battery.
Did this happen as part of a session restore? What's browser.sessionstore.restore_on_demand set to? This will help us to understand the severity of this issue for release.
Assigning to Gavin since we think he may be in the best position to help. Feel free to reassign :)
Assignee: nobody → gavin.sharp
Assignee | ||
Comment 14•12 years ago
|
||
I explicitly load all the tabs, and after that FF CPU usage stays somewhere
around 80%.
Unfortunately I haven't figured out what is causing this all.
Profiling FF hasn't been too successful so far.
Comment 15•12 years ago
|
||
The built-in profiler doesn't produce useful results?
Comment 16•12 years ago
|
||
Seems like's smaug's a better owner here, since he's the only person who can reproduce :)
Assignee: gavin.sharp → bugs
Comment 17•12 years ago
|
||
I investigated the issue mentioned by dbaron in comment #2 and filed bug 791997. I don't think it's related to this bug as smaug usually only has a couple of bugzilla and mxr tabs open.
Comment 18•12 years ago
|
||
As we've only had one report of this and its not a common user scenario , we don't think this needs to be tracked . If this gets fixed, happy to uplift :)
Assignee | ||
Updated•12 years ago
|
Summary: Something causes occasionally lots of timer events in event loop → Something causes occasionally lots of runnables in event loop
Comment 20•11 years ago
|
||
Olli, does this still occur or can we close this bug?
Assignee | ||
Comment 21•11 years ago
|
||
I guess this can be closed, since bug 822096 is very much still open. Though, different issues anyhow.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•