react-native/Libraries/Utilities
Tadeu Zagallo 080d3b9f62 [ReactNative] Add PerformanceLogger to measure TTI
Summary:
@public

Add PerformanceLogger to keep track of JS download, initial script execution and
full TTI.

Test Plan:
The Native side currently calls `addTimespans` when it's finish initializing
with the six values (start and end for the three events), so I just checked it
with a `PerformanceLogger.logTimespans()` at the end of the function.

```
2015-06-18 16:47:19.096 [info][tid:com.facebook.React.JavaScript] "ScriptDownload: 48ms"
2015-06-18 16:47:19.096 [info][tid:com.facebook.React.JavaScript] "ScriptExecution: 106ms"
2015-06-18 16:47:19.096 [info][tid:com.facebook.React.JavaScript] "TTI: 293ms"
```
2015-06-19 15:01:35 -08:00
..
__mocks__ [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
__tests__ [ReactNative] Fix MessageQueue-test on open source 2015-06-18 08:56:33 -08:00
differ [ReactNative] Fix warnings w/h => width/height 2015-05-02 10:22:59 -08:00
AlertIOS.js [ReactNative] Add prompt to AlertIOS 2015-05-13 13:24:36 -07:00
BackAndroid.ios.js [ReactNative] Replace Backstack with BackAndroid 2015-04-07 16:07:42 -08:00
BridgeProfiling.js [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
CSSVarConfig.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
Dimensions.js Expose fontScale to JS 2015-06-01 10:25:38 -08:00
ErrorUtils.js [Cosmetic] Fixing comment typo 2015-06-02 20:23:34 -08:00
MatrixMath.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
MessageQueue.js [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
PerformanceLogger.js [ReactNative] Add PerformanceLogger to measure TTI 2015-06-19 15:01:35 -08:00
PixelRatio.js Expose fontScale to JS 2015-06-01 10:25:38 -08:00
Platform.ios.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
RCTLog.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
RCTRenderingPerf.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
buildStyleInterpolator.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
createStrictShapeTypeChecker.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
cssVar.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
deepFreezeAndThrowOnMutationInDev.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
groupByEveryN.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
logError.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mapWithSeparator.js select up and down the inspector hierarchy 2015-06-04 10:18:56 -08:00
mergeFast.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mergeIntoFast.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
nativeModulePrefixNormalizer.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
stringifySafe.js [ReactNative] improve console logging a little bit 2015-05-04 18:57:03 -08:00
truncate.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00