ironfede / openmcdf

Microsoft Compound File .net component - pure C# - netstandard 2.0
Mozilla Public License 2.0
295 stars 72 forks source link

Add a couple of benchmarks for AsOLEPropertiesContainer #115

Closed Numpsy closed 4 months ago

Numpsy commented 4 months ago

I just thought it'd be useful to test a few more things whilst looking at other issues, e.g.

| Method                             | Mean      | Error    | StdDev   | Gen0    | Gen1   | Allocated |
|----------------------------------- |----------:|---------:|---------:|--------:|-------:|----------:|
| TestReadSummaryInformation         |  71.00 us | 0.761 us | 0.675 us | 18.1885 | 0.2441 | 112.02 KB |
| TestReadDocumentSummaryInformation | 126.58 us | 2.374 us | 4.401 us | 33.9355 | 0.4883 | 209.02 KB |