New issue
Advanced search Search tips

Issue 706817 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

performance slowdown after mousedown in element with many display:none children

Reported by er...@mediamods.com, Mar 30 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

Steps to reproduce the problem:
DEMONSTRATION OF PROBLEM:
http://codepen.io/jedierikb/pen/wJQNgv?editors=1010

Create an element and populate it with many children (~9000).
Set each child's display to none.
Append a few (~9) grandchildren to each child.

After clicking a few times on this element, there is a precipitous drop in response time for mouse events anywhere else in the window.

What is the expected behavior?
If you click an element a few times, your mouse movements should be fast.

What went wrong?
If you click an element a few times, mouse response times in your window should not slow down.

Did this work before? N/A 

Chrome version: 57.0.2987.98  Channel: n/a
OS Version: OS X 10.12.4
Flash Version:
 

Comment 1 Deleted

Comment 2 Deleted

Comment 3 by er...@mediamods.com, Mar 31 2017

Attached is copy of the js from the linked to demonstration.
bug.js
1.5 KB View Download
Labels: Needs-Triage-M57
Cc: schenney@chromium.org
Components: -Blink Blink>HitTesting
Labels: -Needs-Triage-M57 PaintTeamTriaged-20170405 Hotlist-SlowHitTesting BugSource-User
Status: Available (was: Unconfirmed)

Comment 6 by er...@mediamods.com, Apr 24 2017

Notable: this bug results in even worse performance in Canary (Version 60.0.3079.0 (Official Build) canary (64-bit)).

A double click results in a browser window slowdown even without wiggling the mouse!

Comment 7 by er...@mediamods.com, Apr 24 2017

here is a workaround:
http://codepen.io/jedierikb/pen/jmMYaq
but it does not work in canary.
Project Member

Comment 8 by sheriffbot@chromium.org, Apr 25 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment