Use the Profiler button to run a script and profile it along
with the functions that are called. This operation lets you assess performance
bottlenecks and view any hotspots.
On the Run & Profile ribbon, select the Profiler
tool.
The profiler output displays the elapsed time in seconds that it takes
to run each file:
Click a bar in the output.
The proflier data for the selected bar opens in a new tab. Each line of
the script is displayed and includes the elapsed time to run it and the number
of calls.