mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add option to start sampling profiler on app launch
Reviewed By: mhorowitz Differential Revision: D4415989 fbshipit-source-id: 30704c2b618656cb7cc0ccdf87dec315b30b62f3
This commit is contained in:
committed by
Facebook Github Bot
parent
5bb19a5bf5
commit
a407ff94ee
@@ -226,7 +226,7 @@ void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
||||
#if defined(__APPLE__)
|
||||
const bool useCustomJSC = m_jscConfig.getDefault("UseCustomJSC", false).getBool();
|
||||
if (useCustomJSC) {
|
||||
JSC_configureJSCForIOS(true);
|
||||
JSC_configureJSCForIOS(true, toJson(m_jscConfig));
|
||||
}
|
||||
#else
|
||||
const bool useCustomJSC = false;
|
||||
|
||||
Reference in New Issue
Block a user