Skip to content

stdex/xls-benchmarks

Repository files navigation

xls-benchmarks

Libraries for test:

php bin/benchmark --iteration=5 --rows=65534 --cells=5 --driver=Spout
php bin/benchmark --iteration=5 --rows=65534 --cells=5 --driver=SpreadsheetExcelWriter
php bin/benchmark --iteration=5 --rows=65534 --cells=5 --driver=Phpspreadsheet


Runtime: 7.4.26
Host: Linux fv-az72-503 5.11.0-1021-azure #22~20.04.1-Ubuntu SMP Fri Oct 29 01:11:25 UTC 2021 x86_64

-------------------------------------------------------------------------------------
| Package   | Version | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
-------------------------------------------------------------------------------------
| box/spout | v2.7.3  | writerTest | 2630.55           | 2                          |
-------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
| Package                       | Version | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
---------------------------------------------------------------------------------------------------------
| pear/spreadsheet_excel_writer | v0.9.7  | writerTest | 1493.59           | 17                         |
---------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
| Package                  | Version    | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
-------------------------------------------------------------------------------------------------------
| phpoffice/phpspreadsheet | dev-master | writerTest | 4917.6            | 571.2                      |
-------------------------------------------------------------------------------------------------------

Runtime: 8.0.13
Host: Linux fv-az83-472 5.11.0-1021-azure #22~20.04.1-Ubuntu SMP Fri Oct 29 01:11:25 UTC 2021 x86_64

-------------------------------------------------------------------------------------
| Package   | Version | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
-------------------------------------------------------------------------------------
| box/spout | v2.7.3  | writerTest | 2453.06           | 2                          |
-------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
| Package                       | Version | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
---------------------------------------------------------------------------------------------------------
| pear/spreadsheet_excel_writer | v0.9.7  | writerTest | 1308.46           | 17                         |
---------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
| Package                  | Version    | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
-------------------------------------------------------------------------------------------------------
| phpoffice/phpspreadsheet | dev-master | writerTest | 4079.49           | 571.2                      |
-------------------------------------------------------------------------------------------------------

Runtime: 8.1.0
Host: Linux fv-az82-934 5.11.0-1021-azure #22~20.04.1-Ubuntu SMP Fri Oct 29 01:11:25 UTC 2021 x86_64

-------------------------------------------------------------------------------------
| Package   | Version | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
-------------------------------------------------------------------------------------
| box/spout | v2.7.3  | writerTest | 2565.7            | 2                          |
-------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
| Package                       | Version | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
---------------------------------------------------------------------------------------------------------
| pear/spreadsheet_excel_writer | v0.9.7  | writerTest | 1325.49           | 17                         |
---------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
| Package                  | Version    | Test       | Avg Duration (MS) | Avg Peak memory usage (MB) |
-------------------------------------------------------------------------------------------------------
| phpoffice/phpspreadsheet | dev-master | writerTest | 4138.31           | 571.2                      |
-------------------------------------------------------------------------------------------------------

About

Benchmarks popular PHP XLS libraries

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages