mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable Starting Sampling profile at App Startup
Summary: In Dev Settings, we used to have an `Start Sampling Profiler on init` option, which was defunct. This diff re-enables that option. We can now start the Sampling Profiler on app start Reviewed By: yinghuitan Differential Revision: D7022382 fbshipit-source-id: 1db85d8a324e401c71187ba5871a91abcc18acf9
This commit is contained in:
committed by
Facebook Github Bot
parent
14edd5d634
commit
bc2b52d22c
+5
@@ -47,4 +47,9 @@ public class ReactSettingsForTests implements DeveloperSettings {
|
||||
|
||||
@Override
|
||||
public void setRemoteJSDebugEnabled(boolean remoteJSDebugEnabled) {}
|
||||
|
||||
@Override
|
||||
public boolean isStartSamplingProfilerOnInit() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user