"Profile Script Performance" times out

Issue #222 new
Paul Turpie created an issue

The script I’m running seems to time out and not complete its run when I execute it through the "Profile Script Performance" command in Visual Studio Code.

The script is supposed to download a log by querying a webpage, and then the log is processed and filtered. Outside of the PostTools Profiler the script completes and exports its results to a csv file. When I profile the script, it doesn’t get to the export stage unless I run the query for a very small date range.

Is there some sort of limitation on memory usage or run time?

Thanks,

Paul

Visual Studio Code v1.40.1

PowerShell Pro Tools v5.4.2

PS C:\Temp\CyberHound> $PSVersionTable

Name Value


PSVersion 5.1.17763.316
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.316
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Comments (2)

  1. Adam Driscoll

    Hey Paul,

    No there shouldn’t be any limitations such as that. I have the general gist of the script but if you’d be willing to share it, that would be helpful. If you want to scrub it of sensitive info and send it to my email: adam@poshtools.

    If you don’t have time or that’s a no go, don’t worry about it. I think I can try to reproduce the issue with what you’ve described.

    Thanks!

  2. Log in to comment