Closed
Bug 1199416
Opened 11 years ago
Closed 8 years ago
Don't run non-major forgetSkippable so likely, and run them using runnables, not timers
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: smaug, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
6.52 KB,
patch
|
Details | Diff | Splinter Review |
We could possibly increase the magical 100 suspected limit to 1000.
100 comes from https://bugzilla.mozilla.org/show_bug.cgi?id=721543
| Reporter | ||
Comment 1•11 years ago
|
||
Ended up hacking something else too, just trying out to reduce timer wake ups.
So, use already active event loop for non-major forgetSkippables.
Those aren't as critical, so exact timing or number of them isn't that critical.
| Reporter | ||
Comment 2•11 years ago
|
||
The patch is a
Summary: Don't run non-major forgetSkippable so likely → Don't run non-major forgetSkippable so likely, and run them using runnables, not timers
| Reporter | ||
Comment 3•11 years ago
|
||
oops. Don't know what I was about to write.
Anyhow, the patch does seem to turn most of CC wake ups to use already active event loop.
But I'm not sure how to measure whether this affects to the power consumption.
njn, want to try with your tools?
Flags: needinfo?(n.nethercote)
| Reporter | ||
Comment 4•11 years ago
|
||
mccr8 hinted about rapl. I'll try that tomorrow.
Comment 5•11 years ago
|
||
> mccr8 hinted about rapl. I'll try that tomorrow.
You should, it's easy and will save you having to ask me all the time.
Nonetheless, I tried the patch, and power consumption was unchanged AFAICT.
Flags: needinfo?(n.nethercote)
Comment 6•11 years ago
|
||
> Nonetheless, I tried the patch, and power consumption was unchanged AFAICT.
But the number of CCTimerFired events drops from 309 to 35 when I start the browser on BuzzFeed and let it sit for 60 seconds. So that's good.
| Reporter | ||
Comment 7•11 years ago
|
||
Yeah, I tried rapl and couldn't see really any difference to power consumption, but on my machine the results are really noisy.
| Reporter | ||
Comment 8•8 years ago
|
||
Forget skippable scheduling is all different these days, using mostly idle time.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•