We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53f7558 commit 572f6a6Copy full SHA for 572f6a6
tests/performance/stress_nested_shells.ps1
@@ -1,5 +1,5 @@
1
param(
2
- [int]$MaxDepth = 50,
+ [int]$MaxDepth = 100,
3
[int]$CurrentDepth = 0,
4
[string]$CurrentShell = "powershell"
5
)
@@ -20,6 +20,7 @@ if ($CurrentDepth -ge $MaxDepth) {
20
Write-Host "Reached depth $CurrentDepth - Running stress test..." -ForegroundColor Green
21
22
# Run the measurement
23
+ win-witr win-witr.exe
24
$result = Measure-Command {
25
& win-witr win-witr.exe | Out-Null
26
}
@@ -53,4 +54,5 @@ if ($nextShell -eq "cmd") {
53
54
$scriptPath = $MyInvocation.MyCommand.Path
55
& powershell.exe -NoProfile -ExecutionPolicy Bypass -File $scriptPath -MaxDepth $MaxDepth -CurrentDepth $nextDepth -CurrentShell "powershell"
56
exit $LASTEXITCODE
-}
57
+
58
+}
0 commit comments