-
Notifications
You must be signed in to change notification settings - Fork 0
feat: show related processes, essentially deduplicating processes like witr but being more helpful #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
supervoidcoder
wants to merge
15
commits into
main
Choose a base branch
from
name-check-improvements
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: show related processes, essentially deduplicating processes like witr but being more helpful #80
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0ef5a4b
feat: show related processes, essentially deduplicating processes lik…
supervoidcoder 4dbc96a
Merge branch 'main' into name-check-improvements
supervoidcoder 5b3e47b
Update process.ps1
supervoidcoder 147bb68
Update process.ps1
supervoidcoder 6e7728e
Update process.ps1
supervoidcoder 1894fed
perf: make related procnames use stored vector of names rather than c…
supervoidcoder b9e6b64
fix: syntax error and terrible syntax
supervoidcoder cea6b6b
fix: missing semicolon
supervoidcoder a435b95
fix: another missing semicolon
supervoidcoder cbafa76
fix: add missing initializing argument
supervoidcoder 1242a6d
fix: fix type error and fix semicolon accidentally typed as colon
supervoidcoder 10f4359
fix: type error
supervoidcoder c37dd60
fix: Fix process name storage conversion issue
supervoidcoder 17cc779
Merge branch 'main' into name-check-improvements
supervoidcoder aa03023
refactor: names is passed by value — prefer const std::vector<std::st…
supervoidcoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,71 @@ | ||
| REM Test system processes that should always be running | ||
| Measure-Command { win-witr winlogon.exe | Out-Default} | ||
| Measure-Command { win-witr lsass.exe | Out-Default} | ||
| Measure-Command { win-witr win-witr.exe | Out-Default} | ||
| Measure-Command { win-witr wininit.exe | Out-Default} | ||
| Measure-Command { win-witr explorer.exe | Out-Default} | ||
| Measure-Command { win-witr Registry| Out-Default} | ||
| Measure-Command { win-witr csrss.exe| Out-Default} | ||
| Measure-Command { win-witr fontdrvhost.exe | Out-Default} | ||
| Measure-Command { win-witr svchost.exe | Out-Default} | ||
| Measure-Command { win-witr smss.exe | Out-Default} | ||
| Measure-Command { win-witr services.exe | Out-Default} | ||
| Measure-Command { win-witr powershell.exe | Out-Default } | ||
| Measure-Command { win-witr Runner.Listener.exe | Out-Default} | ||
| Measure-Command { win-witr cmd.exe | Out-Default} | ||
| Measure-Command { win-witr pwsh.exe | Out-Default} | ||
| Measure-Command { win-witr Runner.Worker.exe | Out-Default} | ||
| Measure-Command { win-witr hosted-compute-agent | Out-Default} | ||
| Measure-Command { win-witr conhost.exe | Out-Default} | ||
| Measure-Command { win-witr dwm.exe | Out-Default} | ||
| Measure-Command { win-witr RuntimeBroker.exe | Out-Default} | ||
| Measure-Command { win-witr SearchIndexer.exe | Out-Default} | ||
| Measure-Command { win-witr spoolsv.exe | Out-Default} | ||
| Measure-Command { win-witr taskhostw.exe | Out-Default} | ||
| Measure-Command { win-witr dllhost.exe | Out-Default} | ||
|
|
||
| start /B notepad.exe | ||
| timeout /t 1 /nobreak >nul | ||
| Measure-Command { win-witr notepad.exe | Out-Default} | ||
| taskkill /F /IM notepad.exe >nul 2>&1 | ||
|
|
||
| REM Start calc and test it, then close | ||
| start /B calc.exe | ||
| timeout /t 1 /nobreak >nul | ||
| Measure-Command { win-witr calc.exe | Out-Default} | ||
| taskkill /F /IM calc.exe >nul 2>&1 | ||
|
|
||
| REM Start mspaint and test it, then close | ||
| start /B mspaint.exe | ||
| timeout /t 1 /nobreak >nul | ||
| Measure-Command { win-witr mspaint.exe | Out-Default} | ||
| taskkill /F /IM mspaint.exe >nul 2>&1 | ||
|
|
||
|
|
||
| Measure-Command { win-witr powershell.exe | Out-Default} | ||
| $time = Measure-Command { win-witr winlogon.exe | Out-Default } | ||
| "winlogon.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr lsass.exe | Out-Default } | ||
| "lsass.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr win-witr.exe | Out-Default } | ||
| "win-witr.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr wininit.exe | Out-Default } | ||
| "wininit.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr explorer.exe | Out-Default } | ||
| "explorer.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr Registry | Out-Default } | ||
| "Registry check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr csrss.exe | Out-Default } | ||
| "csrss.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr fontdrvhost.exe | Out-Default } | ||
| "fontdrvhost.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr svchost.exe | Out-Default } | ||
| "svchost.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr smss.exe | Out-Default } | ||
| "smss.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr services.exe | Out-Default } | ||
| "services.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr powershell.exe | Out-Default } | ||
| "powershell.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr Runner.Listener.exe | Out-Default } | ||
| "Runner.Listener.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr cmd.exe | Out-Default } | ||
| "cmd.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr pwsh.exe | Out-Default } | ||
| "pwsh.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr Runner.Worker.exe | Out-Default } | ||
| "Runner.Worker.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr hosted-compute-agent | Out-Default } | ||
| "hosted-compute-agent check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr conhost.exe | Out-Default } | ||
| "conhost.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr dwm.exe | Out-Default } | ||
| "dwm.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr RuntimeBroker.exe | Out-Default } | ||
| "RuntimeBroker.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr SearchIndexer.exe | Out-Default } | ||
| "SearchIndexer.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr spoolsv.exe | Out-Default } | ||
| "spoolsv.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr taskhostw.exe | Out-Default } | ||
| "taskhostw.exe check took {0} ms" -f $time.TotalMilliseconds | ||
|
|
||
| $time = Measure-Command { win-witr dllhost.exe | Out-Default } | ||
| "dllhost.exe check took {0} ms" -f $time.TotalMilliseconds |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.