Progress Reporting makes Invoke-RestMethod 70x slower #2238
Labels
Resolution-Duplicate
The issue is a duplicate.
WG-Engine-Performance
core PowerShell engine, interpreter, and runtime performance
WG-Interactive-Console
the console experience
Steps to reproduce
Expected behavior
I'd expect progress reporting to have a small overhead, but not a significant one
Actual behavior
$ProgressPreference = 'Continue' is about 70 times slower than 'SilentlyContinue'. (On PS 5.1 in the latest Win 10 preview it is about 120x slower)
Environment data
The text was updated successfully, but these errors were encountered: