Closed
Bug 1020164
Opened 10 years ago
Closed 10 years ago
Telemetry for AudioStream open time
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
DUPLICATE
of bug 1006641
People
(Reporter: jesup, Assigned: jesup)
References
Details
Attachments
(1 file)
6.32 KB,
patch
|
Details | Diff | Splinter Review |
Measure the time it takes to open an AudioStream in the field, for the first (slow) open and subsequent (faster) opens.
Assignee | ||
Comment 1•10 years ago
|
||
I could have sworn there was a separate bug on this.... Oh well.
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8433981 [details] [diff] [review] add telemetry for AudioStream open times Review of attachment 8433981 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/AudioStream.cpp @@ +511,5 @@ > + TimeDuration timeDelta = TimeStamp::Now() - mStartTime; > + Telemetry::Accumulate(mIsFirst ? Telemetry::AUDIOSTREAM_FIRST_OPEN : > + Telemetry::AUDIOSTREAM_LATER_OPEN, timeDelta.ToMilliseconds()); > + } > + I'll remove the spaces
Attachment #8433981 -
Flags: review?(jib)
Comment 3•10 years ago
|
||
Comment on attachment 8433981 [details] [diff] [review] add telemetry for AudioStream open times Review of attachment 8433981 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/AudioStream.cpp @@ +394,5 @@ > const dom::AudioChannel aAudioChannel, > LatencyRequest aLatencyRequest) > { > + mStartTime = TimeStamp::Now(); > + mIsFirst = GetFirstStream(); It might be negligible, but you can exchange the 2 lines so that GetFirstStream() is not included in the init time.
Assignee | ||
Updated•10 years ago
|
Attachment #8433981 -
Flags: review?(jib)
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•