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

Issue 823328 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Check TelephonyManager and WifiManager state when taking RTT observation

Project Member Reported by tbansal@chromium.org, Mar 19 2018

Issue description

When Chrome starts sending network traffic, it is possible that Android has to wake up the network interface (Telephony or WiFi) from sleep. Doing this may take some time, and consequently may result in taking long time for Chrome to receive acknowledgement back from the remote server.

This may cause NQE to take inflated RTT observtions. One possible workaround is to check the state of the network interface by calling TelephonyManager.getDataActivity() and/or WifiManager.getWifiState() before taking an RTT observation.

 
Labels: OS-Android
Cc: buettner@chromium.org spelc...@chromium.org jpfeiff@chromium.org tombergan@chromium.org
Owner: tbansal@chromium.org
Status: Assigned (was: Untriaged)
Is it possible to report "wake up network interface" as part of a performance API? That would be super interesting. I wonder if many of the high TTFBs we see are actually due to waiting for the network interface to wake up, not from an actually slow network or server.
+1

We talked about getting this data when I first joined the team, but we couldn't. Would be great if we can now.
Status: WontFix (was: Assigned)
The best candidate for this is TelephonyManager.getDataActivity() but I just spoke with an Android TL who said this is totally unreliable and prone to bugs. 

Sign in to add a comment