Lavoiesl\PhpBenchmark\Benchmark::warmup PHP Method

warmup() private method

Runs an empty test to determine the benchmark overhead and run each test once
private warmup ( )
    private function warmup()
    {
        $warmup = new SimpleTest('warmup', function () {
        });
        $warmup->run();
        foreach ($this->tests as $test) {
            $test->run();
        }
        $this->base_results = $warmup->run($this->n);
    }