react-native/React/Profiler
楚怀 4b4c040af7 fix FPSGraph label setText not execute on main thread
Summary:
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:

(You can skip this if you're fixing a typo or adding an app to the Showcase.)

Explain the **motivation** for making this change. What existing problem does the pull request solve?
as apple states, all UIKit methods should execute on main thread, while FPSGraph is not.

Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.

**Test plan (required)**

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

Make sure tests pass on both Travis and Circle CI.

**Code formatting**

Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide).

For more info, see the ["Pull Requests"
Closes https://github.com/facebook/react-native/pull/7500

Differential Revision: D3287011

Pulled By: tadeuzagallo

fbshipit-source-id: 23c4248c8dc65d337afb12626e597dfb6a621e96
2016-05-11 04:11:25 -07:00
..
RCTFPSGraph.h Introduce Perf Monitor 2015-10-23 10:56:56 -07:00
RCTFPSGraph.m fix FPSGraph label setText not execute on main thread 2016-05-11 04:11:25 -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 Avoid text relocations on arm trampoline 2016-05-10 09:09: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