New issue
Advanced search Search tips

Issue 726656 link

Starred by 2 users

Issue metadata

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


Participants' hotlists:
Hotlist-1


Sign in to add a comment

Expensive hit test while dragging when using transform

Reported by klemenos...@gmail.com, May 26 2017

Issue description

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

Steps to reproduce the problem:
1. Go to fiddle: https://jsfiddle.net/5063ngna/
2. Drag red element over black boxes bellow while recording performance - Performance: OK
3. Now click "toggle performance" button
4. Repeat step 2. - Performance: BAD

What is the expected behavior?
Like in other browsers, this should not be an expensive rendering operation.

What went wrong?
- Profile No transform: from 811ms to 5.23s takes 377.1ms
- Profile: With transform: from 245ms to 6.85s takes 5592.6ms

Did this work before? N/A 

Chrome version: 58.0.3029.110  Channel: stable
OS Version: OS X 10.12.5
Flash Version: 

Cannot attach profiles - rejected by server due to size limitation
 
Labels: Needs-Triage-M58 Needs-Bisect

Comment 2 by hdodda@chromium.org, May 29 2017

Cc: hdodda@chromium.org
Labels: Needs-Feedback
Tested the issue on mac os 10.12.4 using chrome M58 #58.0.3029.110 and followed below steps :

!. Launched chrome and navigated to given jsfiddle.
2. opened dev tools , performance section and recorded performance on reload of page and while recording i dragged red element on black boxes and observed the performance rendering.
3. Repeated step 2, but clciked on toggle performance and observed performance rate.

Attached screencast for reference.

@klemenoslaj0-- Could you please check attached screnncast and confirm us if we had missed any steps in reproducing the issue and also please provide us the screencast of the expected and actual results.

Thanks!
726656.mp4
3.6 MB View Download
Hi @hdodda, sorry for not being precise enough with my description.

I was measuring performance while dragging "red div" around - so ~5s of dragenter, dragover and dragleave events.

Please find the attached screencast.
drag-performance-screencast.mov
19.8 MB Download
Project Member

Comment 4 by sheriffbot@chromium.org, May 29 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by hdodda@chromium.org, May 30 2017

Labels: -Needs-Bisect M-60 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Tested the issue on Mac os 10.12.4 , windows 7 and ubuntu 14.04 suing chrome M58 # 58.0.3029.110 and M60 #60.0.3115.0 and issue is reproduced.

Issues is seen from M52 #53.0.2744.0 and is a non-regression issue , as issue behavior is different in earlier versions of chrome.

Marking it as untraiged for further inputs on this.

Thanks!
Is there any workaround available? Any setting in chrome flags maybe?

Thanks for your quick responses.
Components: -Blink Blink>HitTesting
Cc: schenney@chromium.org
Labels: -Needs-Triage-M58 PaintTeamTriaged-20170531 BugSource-User
Status: Available (was: Untriaged)
The transform is placing some content in a different layer, which is apparently hammering hit test performance.
Yes, that is probably the reason. Actually to my surprise even position absolute has some effect on performance, but not as dramatic as transform.

You can test this scenario here: https://jsfiddle.net/5063ngna/2/
Sorry for asking this, but is there any update on this issue?
Sorry, no update yet. Can't promise anything right now.
Project Member

Comment 12 by sheriffbot@chromium.org, Oct 29

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
Cc: -hdodda@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment