mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Support QuickPerformanceLogger.js in CxxBridge
Reviewed By: javache Differential Revision: D4573567 fbshipit-source-id: 3ef9da38fb178cf4c1400b4a991a9e85f3ec3755
This commit is contained in:
committed by
Facebook Github Bot
parent
e29ba72ba7
commit
ba029becbe
@@ -279,9 +279,10 @@ void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
||||
#ifdef WITH_JSC_EXTRA_TRACING
|
||||
addNativeProfilingHooks(m_context);
|
||||
addNativeTracingLegacyHooks(m_context);
|
||||
PerfLogging::installNativeHooks(m_context);
|
||||
#endif
|
||||
|
||||
PerfLogging::installNativeHooks(m_context);
|
||||
|
||||
#if defined(__APPLE__) || defined(WITH_JSC_EXTRA_TRACING)
|
||||
if (JSC_JSSamplingProfilerEnabled(m_context)) {
|
||||
initSamplingProfilerOnMainJSCThread(m_context);
|
||||
|
||||
Reference in New Issue
Block a user