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

Issue 668086 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

extra animation/rendering activities during V8.Execution in Octane2 workload

Reported by junchao....@intel.com, Nov 23 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. install latest chrome (54.0.2840.99) on Windows OS
2. open two chrome windows and display them side by side on the desktop
3. for the first chrome window, press F12, choose "Toggle device toolbar" and select "Nexus 6P", and open https://chromium.github.io/octane/
4. for the second chrome window, open chrome://tracing, press "Record", choose "JavaScript and rendering", press "Record"
5. touch "Start Octane 2.0" in the first window
6. wait 10 seconds and click "Stop" in second window
7. view trace collected in second window

What is the expected behavior?
For chrome process running Octane2, when V8.Execute is busy in CrRenderMain thread, there should be no extra animation/rendering activity in Compositor thread.

What went wrong?
For chrome process running Octane2, when V8.Execute is busy in CrRenderMain thread, there are many extra animation/rendering activities in Compositor thread. For WebView on Android, such activities will cause frame keeps updating. But actually frame should not be updated during JS runs the workload.

Did this work before? N/A 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 6.3
Flash Version: Shockwave Flash 23.0 r0
 
trace_octane2.json.gz
1.1 MB Download
A patch to fix the issue has been uploaded in https://codereview.chromium.org/2527623002/
Cc: jin.a.y...@intel.com

Comment 3 by ajha@chromium.org, Nov 24 2016

Cc: loyso@chromium.org
Labels: M-57
Status: Untriaged (was: Unconfirmed)
Looks like CL is under review. Marking this Untriaged and Cc'ing reviewer for further update.

Thank you!

Comment 4 by rbyers@chromium.org, Nov 28 2016

Cc: -loyso@chromium.org
Components: Blink>Animation
Owner: loyso@chromium.org
Status: Started (was: Untriaged)
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7e190bb23bc08d98e305c4e2b367acf932a2d800

commit 7e190bb23bc08d98e305c4e2b367acf932a2d800
Author: junchao.han <junchao.han@intel.com>
Date: Tue Nov 29 03:10:02 2016

add has_element_in_any_list check in ElementAnimations::UpdateActivation

add has_element_in_any_list check in ElementAnimations::UpdateActivation during
PushProperities process. This solves a corner case if dom for animation be
removed before animation starts. See bug for details.

BUG= 668086 
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2527623002
Cr-Commit-Position: refs/heads/master@{#434862}

[modify] https://crrev.com/7e190bb23bc08d98e305c4e2b367acf932a2d800/cc/animation/element_animations.cc
[modify] https://crrev.com/7e190bb23bc08d98e305c4e2b367acf932a2d800/cc/animation/element_animations_unittest.cc
[modify] https://crrev.com/7e190bb23bc08d98e305c4e2b367acf932a2d800/cc/test/animation_timelines_test_common.cc
[modify] https://crrev.com/7e190bb23bc08d98e305c4e2b367acf932a2d800/cc/test/animation_timelines_test_common.h

Comment 6 by loyso@chromium.org, Nov 29 2016

Status: Fixed (was: Started)

Sign in to add a comment