A .NET application that monitors Windows Defender ETW events and visualizes
scan durations in real-time using a stacked bar chart. Can also visualize
snapshots recorded offline with the
New-MpPerformanceRecording
PowerShell cmdlet.
- Listens to
Microsoft-Antimalware-Engine/StreamScanRequestTask/StopETW events - Displays scan durations per process in a stacked bar chart
- Drag and drop snapshots onto the window to analyse the dropped items
- CSV export when more than one snapshot is dragged to the window
A companion console program (WindowsDefenderPerformanceTool_Light_CpuTimeOnly_TUI) tracks only CPU time consumed by
MsMpEng.exe and renders a small bar chart of recent activity. It does not require elevation — CPU times are read
via NtQuerySystemInformation, which is available to non-admin users.
Windows Defender emits ETW start and stop events per scan operation. The durations shown are therefore wall-clock time, not CPU time - if the OS scheduler preempts the Defender thread in between, the reported duration will exceed the actual CPU time consumed.
MIT

