I have seen plenty of similar questions but none of the solutions work for me.
I am trying to load a .xlsx file with 8 columns and 3 rows. There is just numbers in the cells and nothing else in the file. It's taking over 10 seconds to load this file. Any idea why?
File file1 = new File("C:\\Projects\\SafeSiteLive\\web\\images\\safesite_documents\\1\\sampleData2.xlsx");
double time = System.currentTimeMillis();
XSSFWorkbook workbook = new XSSFWorkbook(file1);
double endTimme = System.currentTimeMillis();
System.out.println("Time took to parse excel file: " + (endTimme - time));
The time outputted here is around 15 seconds. Surely that's too long? In the end I want to be loading files with 1000 rows but at the moment this takes way too long.
Time output "Time took to parse excel file: 15039.0"
Any suggestions?