New issue
Advanced search Search tips

Issue 793244 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , Chrome
Pri: 3
Type: Bug



Sign in to add a comment

MediaSource::attachToElement event takes up to 60ms the first time

Project Member Reported by fbeaufort@chromium.org, Dec 8 2017

Issue description

Chrome Version       : 65.0.3287.0
OS Version: 10194.0.0

What steps will reproduce the problem?
1. Start Chrome fresh
2. Open website that calls something like:

  const video = document.createElement('video');
  const mediaSource = new MediaSource();
  video.src = URL.createObjectURL(mediaSource);

3. Check out trace

What is the expected result?
The event "MediaSource::attachToElement" should last less than 5ms.

What happens instead of that?
It is almost 60ms. See trace attached.
 
trace_nexus-5-first-load-more-categories.json
9.7 MB View Download
Cc: skyos...@chromium.org
+skyostil@, can you or someone in your team help us figure out what's happening here? The tool is a bit esoteric to me. I see a lot of task scheduling but not much work done but I'm sure I don't know how to read all this.

Comment 2 Deleted

Description: Show this description
Summary: MediaSource::attachToElement event takes up to 60ms the first time (was: "new MediaSource()" takes up to 60ms the first time it is called)
Owner: wolenetz@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment