-
- All Implemented Interfaces:
-
com.facebook.react.bridge.JavaScriptExecutorFactory
public class HermesExecutorFactory implements JavaScriptExecutorFactory
-
-
Constructor Summary
Constructors Constructor Description HermesExecutorFactory()
HermesExecutorFactory(RuntimeConfig config)
-
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 String
toString()
-
-
Constructor Detail
-
HermesExecutorFactory
HermesExecutorFactory()
-
HermesExecutorFactory
HermesExecutorFactory(RuntimeConfig config)
-
-
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
-
-
-
-