gecko-dev/devtools/client/shared/source-map
Sorin Davidoi fd9d2baa6d Bug 1588637 - perf: Reduce memory allocation, avoid regular expressions and layout trashing r=davidwalsh
Apply the following optimizations:
 - Don't use regular expressions where they can be avoided
 - Reduce unnecessary memory allocations (e.g. avoid doing a map and a filter by writing the code in an imperative fashion)
 - Reduce layout trashing by using `rAF` and `setTimeout`
 - Perform cheaper checks first in conditional statements

See commit messages for more details.

Differential Revision: https://phabricator.services.mozilla.com/D49214

--HG--
extra : moz-landing-system : lando
2019-10-16 18:44:13 +00:00
..
assets Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast 2019-06-13 18:02:14 +00:00
README Bug 1527826 - Reflect our github org name change in the m-c code; r=nchevobbe 2019-02-15 09:38:53 +00:00
index.js Bug 1588637 - perf: Reduce memory allocation, avoid regular expressions and layout trashing r=davidwalsh 2019-10-16 18:44:13 +00:00
moz.build Bug 1495029 - Add source-map@0.7.3's mappings.wasm asset to prepare for upgrade. r=jlast 2018-09-28 19:41:21 +00:00
worker.js Bug 1588637 - perf: Reduce memory allocation, avoid regular expressions and layout trashing r=davidwalsh 2019-10-16 18:44:13 +00:00

README

devtools-source-map is maintained on GitHub at:

https://github.com/firefox-devtools/debugger.html/tree/master/packages/devtools-source-map

All the files in this folder are copied from the above repository and
should not be modified here.

For any issue or feature request on devtools-source-map, please log an issue at:

https://github.com/firefox-devtools/debugger.html/issues

and label it with "devtools-source-map".