$file_template = "$this->templateFolder/consignment.xlsx";
// EXCEL FILE PREPARATION
$this->mPHPExcel = PHPExcel_IOFactory::createReader('Excel2007');
$this->mPHPExcel = $this->mPHPExcel->load($file_template); // Load sheet
==> this code take up to 30sec to run
PHPExcel_ReferenceHelper insertNewBefore
==> It take >1sec to create new row
$file_template = "$this->templateFolder/consignment.xlsx"; // EXCEL FILE PREPARATION $this->mPHPExcel = PHPExcel_IOFactory::createReader('Excel2007'); $this->mPHPExcel = $this->mPHPExcel->load($file_template); // Load sheet ==> this code take up to 30sec to run
PHPExcel_ReferenceHelper insertNewBefore ==> It take >1sec to create new row
How can I make it faster?