Skip to content

Commit 6e7728e

Browse files
Update process.ps1
1 parent 147bb68 commit 6e7728e

File tree

1 file changed

+67
-26
lines changed

1 file changed

+67
-26
lines changed

tests/process/process.ps1

Lines changed: 67 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,71 @@
1+
$time = Measure-Command { win-witr winlogon.exe | Out-Default }
2+
"winlogon.exe check took {0} ms" -f $time.TotalMilliseconds
13

2-
Measure-Command { win-witr winlogon.exe | Out-Default}
3-
Measure-Command { win-witr lsass.exe | Out-Default}
4-
Measure-Command { win-witr win-witr.exe | Out-Default}
5-
Measure-Command { win-witr wininit.exe | Out-Default}
6-
Measure-Command { win-witr explorer.exe | Out-Default}
7-
Measure-Command { win-witr Registry| Out-Default}
8-
Measure-Command { win-witr csrss.exe| Out-Default}
9-
Measure-Command { win-witr fontdrvhost.exe | Out-Default}
10-
Measure-Command { win-witr svchost.exe | Out-Default}
11-
Measure-Command { win-witr smss.exe | Out-Default}
12-
Measure-Command { win-witr services.exe | Out-Default}
13-
Measure-Command { win-witr powershell.exe | Out-Default }
14-
Measure-Command { win-witr Runner.Listener.exe | Out-Default}
15-
Measure-Command { win-witr cmd.exe | Out-Default}
16-
Measure-Command { win-witr pwsh.exe | Out-Default}
17-
Measure-Command { win-witr Runner.Worker.exe | Out-Default}
18-
Measure-Command { win-witr hosted-compute-agent | Out-Default}
19-
Measure-Command { win-witr conhost.exe | Out-Default}
20-
Measure-Command { win-witr dwm.exe | Out-Default}
21-
Measure-Command { win-witr RuntimeBroker.exe | Out-Default}
22-
Measure-Command { win-witr SearchIndexer.exe | Out-Default}
23-
Measure-Command { win-witr spoolsv.exe | Out-Default}
24-
Measure-Command { win-witr taskhostw.exe | Out-Default}
25-
Measure-Command { win-witr dllhost.exe | Out-Default}
26-
27-
Measure-Command { win-witr powershell.exe | Out-Default}
4+
$time = Measure-Command { win-witr lsass.exe | Out-Default }
5+
"lsass.exe check took {0} ms" -f $time.TotalMilliseconds
286

7+
$time = Measure-Command { win-witr win-witr.exe | Out-Default }
8+
"win-witr.exe check took {0} ms" -f $time.TotalMilliseconds
299

10+
$time = Measure-Command { win-witr wininit.exe | Out-Default }
11+
"wininit.exe check took {0} ms" -f $time.TotalMilliseconds
3012

13+
$time = Measure-Command { win-witr explorer.exe | Out-Default }
14+
"explorer.exe check took {0} ms" -f $time.TotalMilliseconds
15+
16+
$time = Measure-Command { win-witr Registry | Out-Default }
17+
"Registry check took {0} ms" -f $time.TotalMilliseconds
18+
19+
$time = Measure-Command { win-witr csrss.exe | Out-Default }
20+
"csrss.exe check took {0} ms" -f $time.TotalMilliseconds
21+
22+
$time = Measure-Command { win-witr fontdrvhost.exe | Out-Default }
23+
"fontdrvhost.exe check took {0} ms" -f $time.TotalMilliseconds
24+
25+
$time = Measure-Command { win-witr svchost.exe | Out-Default }
26+
"svchost.exe check took {0} ms" -f $time.TotalMilliseconds
27+
28+
$time = Measure-Command { win-witr smss.exe | Out-Default }
29+
"smss.exe check took {0} ms" -f $time.TotalMilliseconds
30+
31+
$time = Measure-Command { win-witr services.exe | Out-Default }
32+
"services.exe check took {0} ms" -f $time.TotalMilliseconds
33+
34+
$time = Measure-Command { win-witr powershell.exe | Out-Default }
35+
"powershell.exe check took {0} ms" -f $time.TotalMilliseconds
36+
37+
$time = Measure-Command { win-witr Runner.Listener.exe | Out-Default }
38+
"Runner.Listener.exe check took {0} ms" -f $time.TotalMilliseconds
39+
40+
$time = Measure-Command { win-witr cmd.exe | Out-Default }
41+
"cmd.exe check took {0} ms" -f $time.TotalMilliseconds
42+
43+
$time = Measure-Command { win-witr pwsh.exe | Out-Default }
44+
"pwsh.exe check took {0} ms" -f $time.TotalMilliseconds
45+
46+
$time = Measure-Command { win-witr Runner.Worker.exe | Out-Default }
47+
"Runner.Worker.exe check took {0} ms" -f $time.TotalMilliseconds
48+
49+
$time = Measure-Command { win-witr hosted-compute-agent | Out-Default }
50+
"hosted-compute-agent check took {0} ms" -f $time.TotalMilliseconds
51+
52+
$time = Measure-Command { win-witr conhost.exe | Out-Default }
53+
"conhost.exe check took {0} ms" -f $time.TotalMilliseconds
54+
55+
$time = Measure-Command { win-witr dwm.exe | Out-Default }
56+
"dwm.exe check took {0} ms" -f $time.TotalMilliseconds
57+
58+
$time = Measure-Command { win-witr RuntimeBroker.exe | Out-Default }
59+
"RuntimeBroker.exe check took {0} ms" -f $time.TotalMilliseconds
60+
61+
$time = Measure-Command { win-witr SearchIndexer.exe | Out-Default }
62+
"SearchIndexer.exe check took {0} ms" -f $time.TotalMilliseconds
63+
64+
$time = Measure-Command { win-witr spoolsv.exe | Out-Default }
65+
"spoolsv.exe check took {0} ms" -f $time.TotalMilliseconds
66+
67+
$time = Measure-Command { win-witr taskhostw.exe | Out-Default }
68+
"taskhostw.exe check took {0} ms" -f $time.TotalMilliseconds
69+
70+
$time = Measure-Command { win-witr dllhost.exe | Out-Default }
71+
"dllhost.exe check took {0} ms" -f $time.TotalMilliseconds

0 commit comments

Comments
 (0)