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)
Core
DOM: Service Workers
Tracking
()
NEW
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.
Updated•8 years ago
|
Priority: -- → P3
Reporter | ||
Updated•8 years ago
|
Comment 1•5 years ago
|
||
It looks like this was addressed as part of a commit for another bug:
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•