gecko-dev/devtools/client/debugger/dist
Nicolas Chevobbe 3290f20402 Bug 1815452 - [devtools] Simplify mapping structure posted to/from workers. r=ochameau,bomsy.
We used to get the mappings array from the pretty fast worker to the prettyPrint
action, and then pass this array to the sourceMap service (also a worker).
As the mapping can be quite large, and given it has a complex shape, passing it
to and from workers (via `postMessage`) was costly.

So here, instead of passing only the mapping, we directly generate the sourceMap
from the pretty fast worker, and pass it to the action which forwards it to
the sourceMap service.

This helps reduce the overhead we were seeing when not buffering the lines in
the pretty print worker, in the previous patch of this stack.

Differential Revision: https://phabricator.services.mozilla.com/D168384
2023-02-07 15:05:35 +00:00
..
moz.build
parser-worker.js Bug 1805378 - [devtools] Automatically start the worker on first WorkerDispatcher invoke/task call. r=bomsy,perftest-reviewers,kshampur 2022-12-20 19:09:56 +00:00
pretty-print-worker.js Bug 1815452 - [devtools] Simplify mapping structure posted to/from workers. r=ochameau,bomsy. 2023-02-07 15:05:35 +00:00
search-worker.js Bug 1805378 - [devtools] Automatically start the worker on first WorkerDispatcher invoke/task call. r=bomsy,perftest-reviewers,kshampur 2022-12-20 19:09:56 +00:00
vendors.css
vendors.js