Repro:
- Windows
- Open an empty temp window
- Run in pwsh:
1..20000 | ForEach-Object { [System.IO.File]::Create("d:\Playground\many_files\file$_.txt").Dispose() }
- Open terminal and type
./ (maybe not needed)
Trace:
vscode-profile-2025-12-10-08-57-34.cpuprofile