зеркало из https://github.com/mozilla/gecko-dev.git
3290f20402
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 |
||
---|---|---|
.. | ||
moz.build | ||
parser-worker.js | ||
pretty-print-worker.js | ||
search-worker.js | ||
vendors.css | ||
vendors.js |