-
- All Implemented Interfaces:
-
com.facebook.react.bridge.JavaScriptExecutorFactory
public class JSCJavaScriptExecutorFactory implements JavaScriptExecutorFactory
-
-
Constructor Summary
Constructors Constructor Description JSCJavaScriptExecutorFactory(String appName, String deviceName)
-
Method Summary
Modifier and Type Method Description JavaScriptExecutorcreate()voidstartSamplingProfiler()Starts the sampling profiler for this specific JavaScriptExecutor Sampling profiler is usuallya singleton on the runtime, hence the method exists here and not in JavaScriptExecutor voidstopSamplingProfiler(String filename)Stops the Sampling profile StringtoString()-
-
Method Detail
-
create
JavaScriptExecutor create()
-
startSamplingProfiler
void startSamplingProfiler()
Starts the sampling profiler for this specific JavaScriptExecutor Sampling profiler is usuallya singleton on the runtime, hence the method exists here and not in JavaScriptExecutor
-
stopSamplingProfiler
void stopSamplingProfiler(String filename)
Stops the Sampling profile
- Parameters:
filename- The filename where the results of the sampling profiler are dumped to
-
-
-
-