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

Issue 901800 link

Starred by 1 user

Issue metadata

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

Blocking:
issue 901345



Sign in to add a comment

Add a main thread only incoming immediate queue to TaskQueueImpl

Project Member Reported by alexclarke@chromium.org, Nov 5

Issue description

Profiling SequenceManagerPerfTest suggests that avoiding locks is a
useful optimisation.  We currently take |immediate_incoming_queue_lock_|
every time we post a task, even from the main thread.

Ideally we'd have a separate main thread only queue, and make 
TaskQueueImpl::ReloadImmediateWorkQueueIfEmpty reconcile the two task
sources (we should merge keyed on enqueue order).  Alternatively we could
do something clever in WorkQueue.

 
Labels: -Type-Bug Type-Feature
Blocking: 901345

Sign in to add a comment