gecko-dev/devtools/server
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
..
actors 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
performance Bug 1350503 - Wrap the performance actor's sharedLibraries value inside an object so that it can be transferred through the debugger protocol. r=gregtatum 2017-04-20 16:10:47 -04:00
shims Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
tests Bug 1357715 - Skip DevTools tests on Stylo that use shadow DOM. r=heycam 2017-06-21 12:59:06 -05:00
child.js Backed out changeset 9b16857ca48d (bug 1302702) 2017-05-17 20:01:30 +02:00
content-process-debugger-server.js Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau 2017-05-29 23:36:26 +02:00
content-server.jsm Bug 1323466 - Prevent loading webbrowser.js in child process. r=jryans 2016-12-19 03:14:12 -08:00
css-logic.js Bug 1333711 - guard against DOMExceptions when accessing stylesheet cssRules;r=gl 2017-02-13 16:23:39 +01:00
event-parsers.js Bug 1322873 - Bug 1322873 - Add React event bubbles to the Markup View r=miker 2016-12-24 21:41:15 +00:00
main.js Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian 2017-06-19 11:32:37 +01:00
moz.build Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau 2017-05-29 23:36:26 +02:00
primitive.js Bug 1325191 - Fix Eslint errors in devtools/server/*.js. r=jryans 2016-12-23 16:45:22 +01:00
service-worker-child.js Bug 1325191 - Fix Eslint errors in devtools/server/*.js. r=jryans 2016-12-23 16:45:22 +01:00
websocket-server.js Bug 1286281 - Part 3: WebSocket server for WebSocket remote debugger transport r=jryans 2016-08-05 05:00:00 -07:00
worker.js Backed out changeset 03bfb1ccd33f (bug 1338249) for test failures in test_loading.xul 2017-02-15 15:24:32 +01:00