react-native-macos/React/Profiler
Tadeu Zagallo ea96a7edb8 Avoid dispatch_async on RCTProfile when not profiling
Summary: public

Fixes #3953

Bail out soon when the profiler is not running + move string formating into the macro so that it happens in a background queue.

Reviewed By: jspahrsummers

Differential Revision: D2696167

fb-gh-sync-id: a1b91ee4459078ab9a4c0be62bd23362ec05e208
2015-11-26 04:11:28 -08:00
..
RCTFPSGraph.h Introduce Perf Monitor 2015-10-23 10:56:56 -07:00
RCTFPSGraph.m Introduce Perf Monitor 2015-10-23 10:56:56 -07:00
RCTMacros.h Prevent RCTProfileTrampoline from getting stripped 2015-10-27 13:03:28 -07:00
RCTPerfMonitor.m Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
RCTProfile.h Avoid dispatch_async on RCTProfile when not profiling 2015-11-26 04:11:28 -08:00
RCTProfile.m Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTProfileTrampoline-arm.S Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTProfileTrampoline-arm64.S Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTProfileTrampoline-i386.S Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTProfileTrampoline-x86_64.S Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00