|
@@ -1,4 +1,4 @@
|
|
|
-
|
|
|
+
|
|
|
|
|
|
[](https://travis-ci.org/viest/php-ext-excel-export)
|
|
|
[](https://ci.appveyor.com/project/viest/php-ext-excel-export/branch/master)
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
Please refer to the image below. PHPExcel has been unable to work properly for memory reasons at 40,000 and 100000 points, but it can be resolved by modifying the ini configuration, but the time may take longer to complete the work;
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
xlswriter is a PHP C Extension that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file. It supports features such as:
|
|
|
|
|
@@ -31,10 +31,36 @@ xlswriter is a PHP C Extension that can be used to write text, numbers, formulas
|
|
|
* FreeBSD License.
|
|
|
* The only dependency is on zlib.
|
|
|
|
|
|
+#### Benchmark
|
|
|
+
|
|
|
+Test environment: Macbook Pro 13 inch, Intel Core i5, 16GB 2133MHz LPDDR3 Memory, 128GB SSD Storage.
|
|
|
+
|
|
|
+##### Export
|
|
|
+
|
|
|
+> Two memory modes export 1 million rows of data (27 columns, data is string)
|
|
|
+
|
|
|
+* Normal mode: only 29S is needed, and the memory only needs 2083MB;
|
|
|
+* Fixed memory mode: only need 52S, memory only needs <1MB;
|
|
|
+
|
|
|
+##### Import
|
|
|
+
|
|
|
+> 1 million rows of data (1 columns, data is inter)
|
|
|
+
|
|
|
+* Full mode: Just 3S, the memory is only 558MB;
|
|
|
+* Cursor mode: Just 2.8S, memory is only <1MB;
|
|
|
+
|
|
|
+#### Documents
|
|
|
+
|
|
|
[文档|Documents](https://xlswriter-docs.viest.me/)
|
|
|
|
|
|
-[](https://pecl.php.net/package/xlswriter)
|
|
|
+#### PECL Repository
|
|
|
+
|
|
|
+[](https://pecl.php.net/package/xlswriter)
|
|
|
+
|
|
|
+#### Exchange group
|
|
|
+
|
|
|
+<img width="160" src="https://github.com/viest/php-ext-excel-export/blob/dev/resource/qq.jpg"/>
|
|
|
|
|
|
#### License
|
|
|
|
|
|
-FreeBSD license
|
|
|
+FreeBSD license
|