PhpBench\Benchmark\Executor\BaseExecutor::executeMethods PHP Method

executeMethods() public method

public executeMethods ( BenchmarkMetadata $benchmark, array $methods )
$benchmark PhpBench\Benchmark\Metadata\BenchmarkMetadata
$methods array
    public function executeMethods(BenchmarkMetadata $benchmark, array $methods)
    {
        $tokens = ['class' => $benchmark->getClass(), 'file' => $benchmark->getPath(), 'methods' => var_export($methods, true)];
        $payload = $this->launcher->payload(__DIR__ . '/template/benchmark_static_methods.template', $tokens);
        $payload->launch();
    }