The default bug view has changed. See this FAQ.

Provide telemetry on timers created by webpages

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: (dormant account), Assigned: froydnj)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [snappy:p3])

(Reporter)

Description

5 years ago
We need something to give us an idea of how much of a problem timers are (and measure progress).
* telemetry on how many setTimeouts within one nsITimer run
* telemetry on how many timeouts are attached to a window
* telemetry on how many background timeouts are scheduled within 30seconds

Nathan, can you dive into this? bz will guide you as to where to stick the probes.
(Assignee)

Comment 1

5 years ago
(In reply to Taras Glek (:taras) from comment #0)
> We need something to give us an idea of how much of a problem timers are
> (and measure progress).
> * telemetry on how many setTimeouts within one nsITimer run
> * telemetry on how many timeouts are attached to a window
> * telemetry on how many background timeouts are scheduled within 30seconds

Is there a reason this bug is in DOM, but nsTimerImpl is in xpcom?  I guess for the first bit one wants to modify nsTimerImpl, but for the other two, some DOM plumbing will be required?
There are XPCOM timers (nsTimerImpls) and DOM timers (nsTimeouts), and they are distinct but related entities.
(Assignee)

Updated

5 years ago
Depends on: 715947
(Assignee)

Updated

5 years ago
Depends on: 715950
(Assignee)

Updated

5 years ago
Depends on: 715953
(Reporter)

Comment 3

5 years ago
I think bug 715953 is sufficient to show that we need to be more clever with our timers.
Whiteboard: [snappy] → [snappy:p4]
(Reporter)

Comment 4

5 years ago
I keep accidentally using a non-existent snappy:p4 priority
Whiteboard: [snappy:p4] → [snappy:p3]
(Assignee)

Comment 5

5 years ago
Dependent bugs fixed.  Closing.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.