spreadsheet->getActiveSheet()->insertNewRowBefore(2, 4); } /** * @Groups({"slow"}) * @revs(4) * @Iterations(4) * @OutputTimeUnit("milliseconds") * @AfterMethods("tearDown") */ public function benchmarkInsertRowsMid(): void { $this->spreadsheet->getActiveSheet()->insertNewRowBefore(255, 4); } /** * @Groups({"slow"}) * @revs(4) * @Iterations(7) * @OutputTimeUnit("milliseconds") * @AfterMethods("tearDown") */ public function benchmarkInsertRowsLate(): void { $this->spreadsheet->getActiveSheet()->insertNewRowBefore(510, 4); } }