mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
d10a8098b2
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39107 Augments D48466760 to report debugger commands (request/response pairs) through `EventReporter`. With the appropriate backend integration, this can help validate the correctness/completeness of the CDP implementation (in the client, proxy and server) and measure the latency of debugger commands - more accurately, the time between the proxy receiving a command from the client and receiving the corresponding response from the server. Most of the new logic here is in the `DeviceEventReporter` class, which is responsible for associating responses with requests. Requests are kept in a buffer with a 10s TTL which serves as a timeout in case of an unresponsive server. Changelog: [Internal] Reviewed By: huntie Differential Revision: D48480372 fbshipit-source-id: 55360a14bbea05ef8ad1622e0d54f18b47483809 |
||
---|---|---|
.. | ||
ttlcache_1.x.x.js |