Overview of the Script Profiler
The Siebel Script Performance Profiler is a part of the eScript Engine that allows you to observe and monitor the performance of a script. For brevity, this guide refers to the Siebel Script Performance Profiler as the Script Profiler.
If you start Siebel CRM in debug mode, then the Script Profiler gathers and displays data for all executable scripts. It displays data in the Script Performance Profiler window and updates this data if a script runs. You can use this data to monitor script performance, identify performance bottlenecks, and compare performance with previous script runs. The Script Profiler allows you to do the following:
Use the Call Tree view. Displays profile data as a tree of function calls. For more information, see Example of the Script Performance Profiler Window.
View function profile and line profile. Line profile data includes the call count and total time spent for each line that runs in a function. Line profile information is available only for a compiled script and is not available for a line that does not run.
Save profile data to file. You can save profile data that the Script Performance Profiler window shows to a text file.
Use the Siebel Script Debugger and the Siebel Script Profiler. You can use the Script Profiler and the Script Debugger at the same time. Profile data is consistent even if the function uses Debugger functionality, such as a breakpoint.
View the script source. The objects that a script references are opened in the Script Editor window. You can double-click a function name or line number to view the script from the Script Performance Profiler window. The View Source option is available only for a compiled script. It is not available for a runtime script.