Closed
Bug 1696456
Opened 3 years ago
Closed 3 years ago
Rename budget to minimumUsefulBudget in IdleTaskRunner
Categories
(Core :: DOM: Core & HTML, task, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
Details
Attachments
(1 file)
"Budget" implied to me that it would be used as the budget for the GC slice that the runner invoked, but it's only used to decide whether there's enough idle time available to run the callback. The latter suggests using a small value, whatever duration seems worth triggering a slice for. The former suggests using a larger value, a slice duration that balances overhead with work done.
But mainly: I messed up and renamed the parameter from aBudget
to aNonIdleBudget
because I misinterpreted what it was being used for. I could just rename it back, but I think aMinimumUsefulBudget
is a slightly better name.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d562bfe87b82 Rename budget to minimumUsefulBudget in IdleTaskRunner r=smaug
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•