Files
react-native/ReactCommon
Riley Dulin bcc79bd4c7 Add support for the sampling memory profiler to the Chrome inspector
Summary:
In the Chrome inspector, add support for `HeapProfiler.startSampling`
and `HeapProfiler.stopSampling`. These two protocols turn the sampling
heap profiler on and off, and write the results on the socket.

Then Chrome's visualizer pieces the information together to produce a flame graph
of memory usage.

Added a unit test to make sure sampling can be turned on and off, and there are some
samples returned.

Changelog: [Internal]

Reviewed By: avp

Differential Revision: D26835148

fbshipit-source-id: d1be3cee791e42da5d9e117c3b8259b6622b98f4
2021-03-18 10:40:42 -07:00
..
2020-05-15 21:55:52 -07:00
2021-03-17 02:57:37 -07:00
2021-03-17 02:57:37 -07:00