gecko-dev/devtools
Patrick Brosset c109f6e2ed Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6

--HG--
extra : rebase_source : 6b9719379dcbd4479bded26014aa3742bd75208e
2017-06-27 12:02:53 -07:00
..
client Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl 2017-06-27 12:02:53 -07:00
docs Bug 1375800 - [doc] add tips to create a patch file in devtools docs;r=sole 2017-06-23 11:22:49 +02:00
platform Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans 2017-05-15 18:53:19 +02:00
server Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl 2017-06-27 12:02:53 -07:00
shared Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl 2017-06-27 12:02:53 -07:00
shim Bug 1372520 - use DevToolsShim to inspectNode in nContextMenu;r=bgrins,mixedpuppy 2017-06-14 17:52:50 +02:00
.eslintrc.js Bug 1365767 - Stop bootlegging TextEncoder and TextDecoder from osfile.jsm in devtools. r=jryans 2017-05-17 13:52:39 -07:00
.eslintrc.mochitests.js Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
.eslintrc.xpcshell.js Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
bootstrap.js Bug 1365891 - interpret preprocessing instructions in DevTools addon bootstrap;r=bgrins 2017-06-06 14:36:44 +02:00
chrome.manifest
CODE_OF_CONDUCT.md
install.rdf Bug 1363417 - Flag DevTools Add-on as multi-processes compatible. r=jryans 2017-05-09 17:57:03 +02:00
moz.build Bug 1356244 - devtools-addon: create low-level DevTools shim for mozilla-central;r=ochameau 2017-05-18 09:12:22 +02:00
templates.mozbuild