DevMenu option to start the Sampling Profiler on init

Differential Revision: D3722550

fbshipit-source-id: 5a805753b4893a167df8bcf95c0e05ed22a15283
This commit is contained in:
Lukas Piatkowski 2016-08-17 08:21:51 -07:00 committed by Facebook Github Bot 7
parent 294c70cc63
commit fe1a39a8f2
1 changed files with 6 additions and 0 deletions

View File

@ -36,5 +36,11 @@
android:summary="Debug server host & port for downloading JS bundle or communicating with JS debugger. With this setting empty launcher should work fine when running on emulator (or genymotion) and connection to debug server running on emulator's host."
android:defaultValue=""
/>
<CheckBoxPreference
android:key="start_sampling_profiler_on_init"
android:title="Start Sampling Profiler on init"
android:summary="If true the Sampling Profiler will start on initialization of JS. Useful for profiling startup of the app. Reload JS after setting."
android:defaultValue="false"
/>
</PreferenceCategory>
</PreferenceScreen>