Open Bug 1373597 Opened 8 years ago Updated 3 years ago

Extend nsIIdleRunnable with method to be able to give an estimation of running time

Categories

(Core :: XPCOM, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: farre, Unassigned)

Details

This could allow us to schedule "small" runnables even though the idle period is short. I'm thinking class nsIIdleRunnable { public: TimeDuration GetExecutionTimeEstimate() { ...} }
And schedule slow runnables without them need to check that there is long enough period to do the work.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.