Open
Bug 1874698
Opened 2 years ago
Updated 8 months ago
[META] Remove the Babel Parser Worker
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: bomsy, Assigned: bomsy)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(2 obsolete files)
META bug to track the work to remove the babel parser worker
Babel parser (parser-worker.js) is by far the main performance culprit of the Debugger.
We do use the parser for various debugger frontend features, highlighted in the following document:
https://docs.google.com/document/d/12xq6Q5qDEuNDtKwSm9LwKSUA4k_zT-r96-3TWIimoqA/edit#heading=h.ldmzcj1wna5e
Thanks to the migration to CodeMirror 6 (bug 1773246), we will be able to use its new parser lezer.
This parser supports parsing only chunks of code and will allow us to only parse the current viewport.
Babel only supports parsing the whole file, which is the main reason why this particular part of the debugger is slow.
Assignee | ||
Updated•2 years ago
|
Type: enhancement → task
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D198021
Updated•2 years ago
|
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D198572
Assignee | ||
Updated•10 months ago
|
Keywords: meta
Summary: Cleanup parser worker → [META] Remove the babel parser worker
Assignee | ||
Updated•10 months ago
|
Summary: [META] Remove the babel parser worker → [META] Remove the Babel Parser Worker
Updated•10 months ago
|
Attachment #9372849 -
Attachment is obsolete: true
Updated•10 months ago
|
Attachment #9372848 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•