react-native/React/Profiler
Nick Lockwood e72163f0f2 Added explicit init to observer modules
Summary:
Modules which call JS methods directly, or use `sendDeviceEventWithName:`, can trigger effects in JS without ever being referenced from the JS code. This breaks some assumptions in my earlier diff about when modules can be lazily loaded.

Pending a better solution, I've put explicit `init` methods in these modules to ensure they are eagerly initialized (the downside to this is that they'll still be initialized even if they are never used).

Reviewed By: javache

Differential Revision: D3258232

fb-gh-sync-id: f925bc2e5339c1fbfcc244d4613062c5ab848fc2
fbshipit-source-id: f925bc2e5339c1fbfcc244d4613062c5ab848fc2
2016-05-04 07:07:24 -07: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
RCTJSCProfiler.h Introduce JSC profiler API 2015-12-15 03:12:32 -08:00
RCTJSCProfiler.m Added throttling on requests made by RCTImageLoader 2016-02-16 12:42:34 -08:00
RCTMacros.h Prevent RCTProfileTrampoline from getting stripped 2015-10-27 13:03:28 -07:00
RCTPerfMonitor.m Added explicit init to observer modules 2016-05-04 07:07:24 -07:00
RCTProfile.h Fix RCTProfileHookModules instantiating all modules 2016-05-04 06:55:30 -07:00
RCTProfile.m Fix RCTProfileHookModules instantiating all modules 2016-05-04 06:55:30 -07:00
RCTProfileTrampoline-arm.S Use indirect jumps on armv7 2016-04-04 06:49:19 -07: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 Preserve all return registers on x86_64 trampoline 2015-12-07 06:43:28 -08:00