Open
Bug 1768795
Opened 1 year ago
Updated 1 year ago
Make nsTerminator shutdown phase duration measure become wall-clock based
Categories
(Toolkit :: Async Tooling, task, P3)
Toolkit
Async Tooling
Tracking
()
NEW
People
(Reporter: jstutte, Unassigned)
References
Details
(Keywords: good-first-bug)
Currently nsTerminator::RunWatchdog
counts ticks while looping, assuming that the effective duration of the sleep is approximately similar to the requested one.
In particular under MacOS (but also Windows) the effective duration of each loop run seems to be largely varying and tending to last significantly longer, up to 50%, it seems.
We could substitute the counter with a wall-clock based effective-ms-passed measurement at each loop run (and re-transform this into ticks).
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Severity: -- → S4
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•