kmaki565/EventLook

Performance improvement

kmaki565 opened this issue · 0 comments

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:

  1. Read event log (description) parallelly
  2. Update framework to .NET 6 (as .NET Framework seems to have a performance issue on FormatDescription)