Closed Bug 1020164 Opened 12 years ago Closed 12 years ago

Telemetry for AudioStream open time

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1006641

People

(Reporter: jesup, Assigned: jesup)

References

Details

Attachments

(1 file)

Measure the time it takes to open an AudioStream in the field, for the first (slow) open and subsequent (faster) opens.
I could have sworn there was a separate bug on this.... Oh well.
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 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.
Attachment #8433981 - Flags: review?(jib)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: