PhpBench\Progress\Logger\DotsLogger::benchmarkStart PHP Method

benchmarkStart() public method

public benchmarkStart ( Benchmark $benchmark )
$benchmark PhpBench\Model\Benchmark
    public function benchmarkStart(Benchmark $benchmark)
    {
        static $first = true;
        if ($this->showBench) {
            // do not output a line break on the first run
            if (false === $first) {
                $this->output->writeln('');
            }
            $first = false;
            $this->output->writeln($benchmark->getClass());
        }
    }