Profiling
appsettings.json property. It is false
by default. You will need to restart PowerShell Universal after enabling or disabling profiling. /profiler/results-index
. You will need to be logged in as administrator before being able to access this URL. Measure-PSUBlock
. The API will be listed by URL in the result index. /process
. Measure-UDBlock
is an alias for Measure-PSUBlock
Measure-PSUBlock
cmdlet to measure specific blocks within your dashboard. Measure-UDBlock
to measure the performance of the Start-Sleep
cmdlet. The result is the block will take one second to execute. UDComponent\ElementPost
and UDComponent\Element
. These are requests for elements within Dashboards. MyElement
. You'll also notice that the WithinDashboard
block takes about 1 second. show trivial
to expand all timings. Measure-PSUBlock
within your script. Get-Service
. JobProfiler/{id}
. The id will match the job ID shown in the admin console.