$objReader->load($inputFileName) takes more time.How can i minimize it?

Topics: Developer Forum, Project Management Forum, User Forum
Nov 8, 2012 at 5:06 PM
Edited Nov 8, 2012 at 5:09 PM

$inputFileName is 1 mb xlxs file takes 45sec only for loading.

$objReader = new PHPExcel_Reader_Excel2007();

$objReader->setReadDataOnly(true);

$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);

checked for execuation time for every line. load function takes 45 sec . How to minimize it?