Quantcast
Channel: Windows PowerShell - SAPIEN Blog
Viewing all articles
Browse latest Browse all 308

PrimalScript 2016 service build adds CPU and memory performance graphs

$
0
0

The latest service build of PrimalScript 2016 (7.2.91) adds performance graphs for your scripts.

image

To enable this feature you just need to make the “Performance” tab visible before you execute your script.

image

Performance data can be collected on any script run from within PrimalScript as long as you enabled output redirection. That means this applies to PowerShell, VBScript, Perl or any other script that you run from within PrimalScript.

The output window will also display the peak values during the execution of your script when it finishes.

image

Since collecting this data while executing your script obviously adds additional CPU and memory usage by itself, this feature is turned off by default. Just switch it on when you need help determining if your script has memory or CPU usage problems. This also means that this data is relative. You cannot directly compare data from a graph to another script that is executed without collecting performance data.

The graph in the docked Performance panel scales automatically as the script runs, but because of the generally small height of the docked window some details may not be visible in the graph. You can make the Performance panel a docked window to see the performance data in greater detail.

image

image

As you can see, this makes it a little bit easier to discern the variations in CPU usage and memory consumption.

As always, if you have any feedback or suggestion on a feature, please head over to our product support or wishlist forum and tell us what you like to see.

 

 
[Google+]   [Facebook]   [LinkedIn]   [StumbleUpon]   [Digg]   [Reddit]   [Google Bookmark]  


Viewing all articles
Browse latest Browse all 308

Trending Articles