Open
Bug 368591
Opened 18 years ago
Updated 2 years ago
extend idle service to also issue notifications for CPU/network idle
Categories
(Core :: General, enhancement)
Core
General
Tracking
()
NEW
People
(Reporter: myk, Unassigned)
References
Details
Firefox performs a number of tasks (like checking for an application update or flushing Places updates to disk) that don't necessarily need to be done immediately and could be delayed until the CPU and/or network is idle. In some cases, delaying these tasks to an idle moment could improve the responsiveness of the application.
We should implement a service that queues such tasks and executes them at the appropriate time. The service should distinguish between tasks to be performed during idle CPU and those waiting for idle network (or both). And tasks should be able to set a upper bound on how long they can be delayed.
Comment 1•18 years ago
|
||
on a related note, there is a bug about not prompting on update when the user is busy, as the software update dialog can grab your keystroke. (I'll find the bug #)
i think tbird could benefit from this as well, especially to avoid doing certain tasks when the user is busy typing away in the compose window.
Comment 2•18 years ago
|
||
myk, please see bug #349251 comment #5 and comment #6
Reporter | ||
Comment 3•18 years ago
|
||
Seth: good point. Perhaps there's a third category of tasks that should wait until the user isn't (or doesn't appear to be) using input devices.
Comment 4•18 years ago
|
||
I have created an extension that periodically pings a remote server using XHR looking for new information. In the case where the user is not using the application I would like to not ping the server (or perhaps reduce the frequency) - reducing unnecessary load on the remote server.
Comment 5•18 years ago
|
||
note: benjamin points out we already have nsIIdleService on the trunk, see bug #343416
Depends on: 343416
Comment 6•18 years ago
|
||
This is really not what you want, afaict. nsIIdleService is about user idle time, and has nothing to do with CPU or network idle time, as the idl says pretty clearly, as far as I'm concerned.
Comment 7•18 years ago
|
||
Ugh, I need to read more comments before commenting. That said, the summary isn't quite accurate anymore, as far as I can tell. Sorry!
Reporter | ||
Comment 8•18 years ago
|
||
Right, here's a new summary about extending the idle service, which I didn't know about before, to support CPU/network idle notifications in addition to the current user activity notifications.
Reporter | ||
Updated•18 years ago
|
Summary: queue tasks that can wait until CPU/network is idle → extend idle service to also issue notifications for CPU/network idle
Updated•16 years ago
|
Product: Firefox → Core
QA Contact: general → general
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•