-
- All Implemented Interfaces:
-
com.facebook.react.bridge.JavaScriptExecutorFactory
public class ProxyJavaScriptExecutor.Factory implements JavaScriptExecutorFactory
-
-
Constructor Summary
Constructors Constructor Description ProxyJavaScriptExecutor.Factory(JavaJSExecutor.Factory javaJSExecutorFactory)
-
Method Summary
Modifier and Type Method Description JavaScriptExecutor
create()
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 void
stopSamplingProfiler(String filename)
Stops the Sampling profile -
-
Constructor Detail
-
ProxyJavaScriptExecutor.Factory
ProxyJavaScriptExecutor.Factory(JavaJSExecutor.Factory javaJSExecutorFactory)
-
-
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
-
-
-
-