Closed
Bug 2002849
Opened 7 months ago
Closed 7 months ago
Queue management performance in JS managed microtask queue is insufficient.
Categories
(Core :: JavaScript Engine, task)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
147 Branch
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
References
Details
Attachments
(1 file)
A side effect of this patch to remove the use of PersistentRooted was that queue management overhead became higher due to GC barriers.
In the short term, we should revert that patch. Longer term, we should consider another data structure for the Microtask queue
| Assignee | ||
Comment 1•7 months ago
|
||
For now let's focus on the industry benchmark rather than a microbenchmark.
Bug 2002850 has been opened to track further improvement here.
Updated•7 months ago
|
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
Pushed by mgaudet@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e78b98f730ec
https://hg.mozilla.org/integration/autoland/rev/c6f600003c44
Revert "Bug 1997702 - Remove use of PersistentRooted on JSContext for MicroTaskQueues" r=jonco
Comment 3•7 months ago
|
||
Backed out for causing xpc failures at test_promise_job_across_sandbox.js.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/fca2f5e043d75fca3c591850e7822510fd6f1b5d
Failure log: https://treeherder.mozilla.org/logviewer?job_id=537842962&repo=autoland&task=YjGfiVt_SnWCHKuo83khuw.0&lineNumber=2679
Flags: needinfo?(mgaudet)
Pushed by mgaudet@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/31c1af05c7ee
https://hg.mozilla.org/integration/autoland/rev/82f701e2e54d
Revert "Bug 1997702 - Remove use of PersistentRooted on JSContext for MicroTaskQueues" r=jonco
Comment 5•7 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox147:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
| Assignee | ||
Updated•7 months ago
|
Flags: needinfo?(mgaudet)
Updated•6 months ago
|
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in
before you can comment on or make changes to this bug.
Description
•