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

Issue 756512 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature



Sign in to add a comment

Stop loading current page when omnibox is active (on low-end devices)

Project Member Reported by dskiba@chromium.org, Aug 17 2017

Issue description

Let's optimize the following use case on low-end Android devices:

1. Chrome is started
2. It starts reloading last opened tab
3. User taps omnibox to search for something
4. Keyboard appears, user starts typing

This scenario is currently very laggy on 512 low-end device, because keyboard fights with renderer that loads in the background.

Can we pause loading in this case to free CPU / memory for the keyboard?
 

Comment 1 by dskiba@chromium.org, Aug 18 2017

Cc: ericrk@chromium.org ojan@chromium.org
Components: UI>Browser>Omnibox EmergingMarkets
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)

Comment 3 by ojan@chromium.org, Aug 18 2017

Cc: skyos...@chromium.org altimin@chromium.org
Components: Blink>Scheduling
The renderer scheduler is pretty flexible here. We could fairly easily block just loading tasks, or all tasks. 
Can we prioritize instead of blocking, so the keyboard gets all the resources it wants?  We definitely wouldn't want to block background loading on omnibox focus on devices where the keyboard wasn't laggy, and I'm not 100% convinced we can determine this based on a simple device capabilities check.  Seems like the OS scheduler ought to be able to deal with this given sufficient priority info, but maybe I'm wrong?
Could you please record a systrace of this scenario? If the omnibox is being laggy because the background renderer is stealing CPU time then it feels like we should try adjusting thread/process priorities. If the lag is caused by some other activity in the browser process (perhaps triggered by the renderer) then we need something smarter.

Comment 6 by ojan@chromium.org, May 8 2018

Cc: -ojan@chromium.org

Sign in to add a comment