-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load file xlsx is very slow #3917
Comments
I have an XLSX that is 1.4MB and my code just hangs when I use the same method, doesn't even finish. |
@tvillafane please use https://github.com/aVadim483/fast-excel-reader is better faster |
Same problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`<?php
require 'vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\IOFactory;
$filename = 'data/danhsach.xlsx';
//$filename = 'data/nhanvien.xlsx';
$spreadsheet = IOFactory::load($filename);`
I use this code load file "danhsach.xlsx" with 16k record, file size excel: 7MB.
+> this code load finish taken time: 32s
how to optimize this, i load full column and row, not limit.
I used:
PHP: 8.2.4
PhpSpreadsheet: 2.0
Thanks bro,
The text was updated successfully, but these errors were encountered: