public function __construct(Benchmark $benchmark, $rounds = null) { $this->benchmark = $benchmark; $this->rounds = $rounds ?: 3; }