Open Bug 1287345 Opened 8 years ago Updated 2 years ago

Consider running service worker threads at normal priority

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

Tracking Status
firefox50 --- affected

People

(Reporter: bkelly, Unassigned)

References

(Blocks 1 open bug)

Details

Currently all non-chrome worker threads are run at low priority: https://dxr.mozilla.org/mozilla-central/source/dom/workers/RuntimeService.cpp#1620 int32_t priority = aWorkerPrivate->IsChromeWorker() ? nsISupportsPriority::PRIORITY_NORMAL : nsISupportsPriority::PRIORITY_LOW; if (NS_FAILED(thread->SetPriority(priority))) { NS_WARNING("Could not set the thread's priority!"); } We should consider running service workers at normal priority since they can be in the hot path for page load.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.