You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benchmarks logic can be found in [MiniExcel.Benchmarks](benchmarks/MiniExcel.Benchmarks/Program.cs) , and test cli
51
+
The code for the benchmarks can be found in [MiniExcel.Benchmarks](https://github.com/mini-software/MiniExcel/tree/master/benchmarks/MiniExcel.Benchmarks).
52
+
To run all the benchmarks use:
52
53
53
54
```bash
54
-
dotnet run -p .\benchmarks\MiniExcel.Benchmarks\-c Release -f netcoreapp3.1 -- -f* --join
55
+
dotnet run -project .\benchmarks\MiniExcel.Benchmarks -c Release -f net9.0 -filter* --join
55
56
```
56
57
57
-
Output from the latest run is :
58
-
59
-
```bash
60
-
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
61
-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
Benchmark History : [Link](https://github.com/mini-software/MiniExcel/issues/276)
68
-
69
-
70
66
71
67
#### Import/Query Excel
72
68
73
-
Logic : [**Test1,000,000x10.xlsx**](benchmarks/MiniExcel.Benchmarks/Test1%2C000%2C000x10.xlsx) as performance test basic file, 1,000,000 rows * 10 columns "HelloWorld" cells, 23 MB file size
69
+
The file used to test performance is [**Test1,000,000x10.xlsx**](https://github.com/mini-software/MiniExcel/tree/master/benchmarks/MiniExcel.Benchmarks/Test1%2C000%2C000x10.xlsx), a 32MB document containing 1,000,000 rows * 10 columns whose cells are filled with the string "HelloWorld".
|'MiniExcel Create Xlsx'|4.427 s | 0.0056 s | 0.1023 s | 251666.6667| 1833.3333 | 1666.6667 | 3.92 GB|
92
+
|'OpenXmlSdk Create Xlsx by DOM mode'| 22.729 s | 0.1226 s | 2.2374 s | 307000.0000 | 306833.3333 | 3833.3333 | 6.22 GB|
93
+
|'ClosedXml Create Xlsx'| 22.851 s | 0.0190 s | 0.3473 s | 195500.0000 | 54500.0000 | 4166.6667 | 4.48 GB|
94
+
|'Epplus Create Xlsx'| 23.027 s | 0.0088 s | 0.1596 s | 89000.0000 | 17500.0000|6000.0000 | 2.51 GB|
99
95
96
+
Warning: these results may be outdated. You can find the benchmarks for the latest release [here](https://github.com/mini-software/MiniExcel/tree/master/benchmarks/results).
<p>This project is part of the <ahref="https://www.dotnetfoundation.org/">.NET Foundation</a> and operates under their <ahref="https://www.dotnetfoundation.org/code-of-conduct">code of conduct</a>. </p>
The file used to test performance is [**Test1,000,000x10.xlsx**](benchmarks/MiniExcel.Benchmarks/Test1%2C000%2C000x10.xlsx), a 32MB document containing 1,000,000 rows * 10 columns whose cells are filled with the string "HelloWorld".
84
82
85
-
Output from the latest run is :
83
+
To run all the benchmarks use:
86
84
87
85
```bash
88
-
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
89
-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
0 commit comments