mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
0c74804427
Summary: public The initial implementation used a lock to manage the stored profile information, blocking the caller thread for longer than it should. Replace it with a private queue, since the only thing we need to from the caller is to record the immediate call time and the caller thread/queue, all the rest has absolutely no priority. Use macros to also defer work done when generate the name of the events. Reviewed By: nicklockwood Differential Revision: D2603120 fb-gh-sync-id: e3e36160c893e7ae9ed3558f07c854ea76396661