New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 682152 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug-Regression



Sign in to add a comment

250% regression in browser_tests at 443167:443169

Project Member Reported by nisse@chromium.org, Jan 18 2017

Issue description

See the link to graphs below.
 

Comment 1 by nisse@chromium.org, Jan 18 2017

All graphs for this bug:
  https://chromeperf.appspot.com/group_report?bug_id=682152

Original alerts at time of bug-filing:
  https://chromeperf.appspot.com/group_report?keys=agxzfmNocm9tZXBlcmZyFAsSB0Fub21hbHkYgIDgwIq0tgoM


Bot(s) for this bug's original alert(s):

chromium-webrtc-rel-mac

Comment 2 by nisse@chromium.org, Jan 18 2017

Cc: chfremer@chromium.org
Owner: yhirano@chromium.org
Status: Assigned (was: Untriaged)
The perf graphs for mac bots show a small but clear drop in unique frames and corresponding increase in repeated frames. Your cl https://codereview.chromium.org/2625823003 is on the list and seems to be the least unlikely. Can you have a look and see if it could possibly affect video?

There were an earlier and larger regression affecting mostly the same bots, see https://bugs.chromium.org/p/chromium/issues/detail?id=681832, which isn't resolved yet. It's possible that interacts with your change in some way.
Can you tell me what the test is doing?

Comment 4 by nisse@chromium.org, Jan 18 2017

Sure. The test sets up a webrtc video call, using a video stream including a bar code with the frame number in each frame, and then it analyzes the frames on the receiver.

Drop in unique frames and increase in max repeated, that means more frames are lost and there is (short) video freeze at the receiver.
Cc: -nisse@chromium.org yhirano@chromium.org
Owner: nisse@chromium.org
Then I would say my CL is not related. My CL registers a pre-finalizer to blink::ResourceLoader and in theory that regresses Oilpan's performance very slightly, but I believe it's negligible.

Thanks!

Comment 6 by nisse@chromium.org, Jan 31 2017

Cc: nisse@chromium.org
Owner: mcasas@chromium.org
Hi, mcasas.

I apologize for being a bit slow looking at this, but it now appears that the changes in the graph correlate closely with your MediaRecorder changes,

landed as #443165, reverted as #443251, relanded as #443400.

Can you investigate if the changes to video performance are expected or reasonable?

Comment 7 by mcasas@chromium.org, Jan 31 2017

Cc: kjellander@chromium.org
The CLs your mention make it possible for Media Recorder to select
the most-likely hardware accelerated encoder supported by the platform
(out of VP8, VP9, H264, in that order of preference).  Mac in particular
supports H264 accelerated, so it's very likely that MR has switched
to using it, producing nonetheless a similar webm file that should 
be treated accordingly.  IIUC, there is a ffmpeg/libavcodec script
hardcoded somewhere that might be responsible for the change, kjellander@
where was it?


https://blink.lc/chromium/commit/?id=904b7a6f6dffa9cee5ac930c37dd591c330d14c6
https://blink.lc/chromium/commit/?id=c104b1c42724791fc3dd69ebbea6e915cab8bedc

Status: WontFix (was: Assigned)
I don't think we need to worry too much about repeated frames going up from 1 to 2-3 on average. 
Looking historically at the metric it has been in this range before (but also as high as 8 for a long period), so I don't think this regression is severe enough to call for further investigation since it's the only stat regressing.


Sign in to add a comment