We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f97a1 commit fd11080Copy full SHA for fd11080
1 file changed
tests/performance/stress_nested_shells.ps1
@@ -3,18 +3,18 @@ param(
3
[int]$CurrentDepth = 0,
4
[string]$CurrentShell = "powershell"
5
)
6
-
+cd D:\a\win-witr\win-witr
7
# Ensure win-witr.exe is in PATH or current directory
8
-$exePath = win-witr.exe
+
9
10
if ($CurrentDepth -ge $MaxDepth) {
11
# We've reached max depth - run the actual test
12
Write-Host "Reached depth $CurrentDepth - Running stress test..." -ForegroundColor Green
13
14
# Run the measurement
15
- & $exePath $exePath
+ win-witr win-witr.exe
16
$result = Measure-Command {
17
18
}
19
20
Write-Host "Time taken at depth ${CurrentDepth}: $($result.TotalMilliseconds)ms" -ForegroundColor Cyan
0 commit comments