New issue
Advanced search Search tips

Issue 900794 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Jank caused in browser UI thread by file write on background thread

Project Member Reported by ssid@chromium.org, Nov 1

Issue description

Observed from a few reports from users that writing file at startup on background thread can cause janks on main thread.
See report:
https://crash.corp.google.com/browse?q=reportid=%273ec3795cbc41ec13%27#6

The WriteNow() on background thread causes the NavigatorImpl::Navigate to slow down for almost 2 seconds on main thread.

Is it possible to schedule blocking tasks in worker after startup / loading is completed?
 
Labels: -Pri-2 Pri-3
Actually looking at the trace more, it is possible that the UI thread is just not scheduled (given there are 4 other threads running at the same time), or waiting on a lock.
Most likely to be https://bugs.chromium.org/p/chromium/issues/detail?id=891653
There are issues with thread creations.

Sign in to add a comment