Closed Bug 715950 Opened 13 years ago Closed 12 years ago

add telemetry for how many timeouts are attached to a window

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

(Whiteboard: [Snappy:P3])

Splitting this off from bug 715380.

Also, I'm not entirely sure what the desired effect is here.  Do you want to know the number of pending timeouts when setTimeout is called?  Or something else?
Just need to poll amount of timeouts at a semi-regular intervals. Could do it when memory polling is done in TelemetryPing.js.
Following on to bz's comment in bug 715953, why do we want this?
(In reply to Nathan Froyd (:froydnj) from comment #2)
> Following on to bz's comment in bug 715953, why do we want this?

Need to know potential for interruptions caused by timeouts.
Whiteboard: [Snappy:P3]
Do we care about this now that we a) know that excessive timers are a problem; and b) those problems are being addressed?
(In reply to Nathan Froyd (:froydnj) from comment #4)
> Do we care about this now that we a) know that excessive timers are a
> problem; and b) those problems are being addressed?

In addition to problem determination Telemetry can be useful in monitoring for regressions. I'm not that familiar with this specific issue. Would it be useful to monitor for regressions in this case?
I don't think we care too much about this. Can close it and someone can reopen it if it still matters.
Yay for getting bugs off my list, then.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.