Performance improvement
kmaki565 opened this issue · 0 comments
kmaki565 commented
The performance of reading event logs is not optimal. Checking with WPR/WPA, large part of the CPU time is consumed by EventRecord.FormatDescription. The second highest consumer in the test was the WPF PresentationCore, so we may need to look into how to update UI (e.g., how to update the event ObservableCollection) as well.
I'd like to address FormatDescription
first by the following ways:
- Read event log (description) parallelly
- Update framework to .NET 6 (as .NET Framework seems to have a performance issue on
FormatDescription
)