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

Issue 613795 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

5 FPS scrolling on jamespendleton.co.uk (sync XHR on scroll handler)

Project Member Reported by primiano@chromium.org, May 21 2016

Issue description

I was looking for a new flat, but somehow I ended up on crbug.
Hyperjanky scrolling on this website.

Chrome 52.0.2743.0 on OS X 10.11.5
URL: http://www.jamespendleton.co.uk/PropertySearch.aspx?soldlet=y&hareadmob=sw11&propertytype=&minbeds=2&radius=&searchtype=let&minprice=450&maxprice=700

Attaching trace.

It seems they (or some JQuery plugin they use) do sync XHR on scroll handler (of course).
Not sure how much we can do here other than some heavy browser intervention.
My main concern here is that this page is perfectly smooth on safari.
(The other option is me explain the real-estate agent that they shouldn't do sync xhrs onscroll on their website. Will try.)
 
trace_jamespendleton.json.gz
3.1 MB Download
Cc: tdres...@chromium.org
Yeah, looks like the sync XHR inside rAF (!) coupled with a blocking wheel event handler (for a smooth scrolling library?) is the culprit here. I'd be curious to find out why Safari does so much better here.
Cc: vollick@chromium.org dtapu...@chromium.org
Components: Blink>Scroll
Labels: OS-Chrome
Status: Available (was: Unconfirmed)
I'm pretty sure the difference is that we're wheel scrolling on main, but Safari isn't.

The scroll event is async in both cases, but it gums up the main thread, so when we main thread scroll, it's super slow. Safari scrolls on the compositor thread, so everything is smooth.

I'm not quite sure why we scroll on main. Renderer4.MainThreadWheelScrollReason reports that we're scrolling on main due to an event listener, but I'm not clear on what the listener is. I haven't find a wheel listener with devtools, but I'm probably just missing something.

vollick@, any ideas?
Labels: -Performance Performance-Responsiveness
Cc: -rsch...@chromium.org
Project Member

Comment 5 by sheriffbot@chromium.org, Sep 20

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)
Still an issue in Q4 2018 check-in. But it might get better with wheel passive listener intervention.

Sign in to add a comment