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
{{ message }}
Repository navigation
[Bug]perf: bounded queries can hit full-capture analysis limits before range filtering #1113
Found while validating the performance diagnostics introduced by #837 against PowerToys Settings. Revalidated on current main at 67c262b0.
Describe the bug
perf analyze materializes the full capture before applying marker or time-range filters. A valid bounded scenario can therefore become unavailable when an earlier part of the capture reaches the retained-evidence limit.
To reproduce
Record a multi-page PowerToys Settings session with start/end markers around each navigation.
The capture completed with all 24 markers and no ETW loss (eventsLost: 0, buffersLost: 0). Analysis stopped at approximately 45.8 seconds with:
Selected-event or 128-MiB retained-evidence limit reached.
The requested marker starts at approximately 49.9 seconds, so the bounded query fails with:
No complete WinUI activity identifies a primary UI thread in the selected range.
Expected behavior
An explicit marker or time-range query should not require retaining the entire capture. Out-of-range records should be filtered by QPC before detailed decoding, while preserving boundary-overlap coverage.
Activity