PhpBench\Benchmarks\Macro\ReportBench::generateDump PHP Метод

generateDump() публичный статический Метод

Generate an XML dump before benchmarking the report generation command.
public static generateDump ( )
    public static function generateDump()
    {
        // instantiate the benchmark class (this) so that we can
        // run a command.
        $case = new self();
        $case->runCommand('console.command.run', ['path' => self::getFunctionalBenchmarkPath(), '--dump-file' => self::getWorkspacePath() . '/dump.xml']);
    }