react-native/Examples/UIExplorer/UIExplorerUnitTests
Nick Lockwood dc13115445 Dispatch module setup asynchronously to avoid blocking main thread when bridge starts
Summary:Initializing native modules can block the main thread for tens of milliseconds when it starts up, making it difficult to instantiate the bridge on demand without causing a performance blip.

This diff splits up the initialization of modules so that - although they still happen on the main thread - they don't block the thread continuously.

Reviewed By: javache

Differential Revision: D2965438

fb-gh-sync-id: 38c9c9d281e4672b5874d68b57d4c60d1d268344
shipit-source-id: 38c9c9d281e4672b5874d68b57d4c60d1d268344
2016-03-03 02:21:36 -08:00
..
OCMock [ReactNative] Move unit tests to UIExplorer 2015-06-06 13:38:34 -08:00
Info.plist Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
LayoutSubviewsOrderingTest.m Bugfix - Typos 2015-12-15 09:09:32 -08:00
RCTAllocationTests.m Re-enable testUnderlyingBridgeIsDeallocated 2016-01-06 09:03:33 -08:00
RCTBridgeTests.m Added unit tests for module init 2016-03-01 09:44:37 -08:00
RCTConvert_NSURLTests.m Use mainBundle in RCTConvert to resolve asset paths 2015-11-05 09:30:36 -08:00
RCTConvert_UIFontTests.m Implemented lazy parsing of method signatures to improve TTI 2015-08-11 08:49:13 -08:00
RCTEventDispatcherTests.m flush events queue when an event cannot be coalesced (4/7) 2016-02-03 05:23:55 -08:00
RCTGzipTests.m Re-enable testUnderlyingBridgeIsDeallocated 2016-01-06 09:03:33 -08:00
RCTImageLoaderHelpers.h Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTImageLoaderHelpers.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTImageLoaderTests.m Dispatch module setup asynchronously to avoid blocking main thread when bridge starts 2016-03-03 02:21:36 -08:00
RCTImageUtilTests.m Added support for width & height for text images 2016-01-22 11:32:32 -08:00
RCTJSCExecutorTests.m Rename RCTContextExecutor to RCTJSCExecutor 2015-12-16 02:51:28 -08:00
RCTJSONTests.m Handle bad JSON data without crashing 2016-01-26 06:13:29 -08:00
RCTMethodArgumentTests.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTModuleInitNotificationRaceTests.m Dispatch module setup asynchronously to avoid blocking main thread when bridge starts 2016-03-03 02:21:36 -08:00
RCTModuleInitTests.m Dispatch module setup asynchronously to avoid blocking main thread when bridge starts 2016-03-03 02:21:36 -08:00
RCTModuleMethodTests.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTShadowViewTests.m Add suggested ‘view size’ powers to -[RCTShadowView setFrame:] 2016-03-01 10:14:32 -08:00
RCTUIManagerTests.m Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
RCTURLUtilsTests.m Remove `hot` query string attribut when HL is disabled 2016-01-06 11:55:33 -08:00
libOCMock.a [ReactNative] Move unit tests to UIExplorer 2015-06-06 13:38:34 -08:00