Profiling Your eScripts in Siebel Web Tools
The new Web Tools Script Profile feature release in the Siebel CRM 23.12 Release Update allows developers to profile their eScripts in Siebel Web Tools. This keeps developers within Web Tools when they are optimizing scripts with no need to operate elsewhere. There is no need to run the original Siebel Tools application to see how the scripts are performing. This works only for eScripts executed with the ST engine enabled (which is the default). After profiling, developers can see where the scripts are spending their time. Perhaps there is a particular method or loop within a method that is consuming most of the time. This helps to identify where that happens.
Assuming you are a developer, here’s a working example of the feature and some hints and tips.

The debugger has a new pane at the bottom that will show the results of the profiling a script. You can profile an entire object or see the individual lines in a method.
Profiling an entire object
For this procedure there is no need to specify any Line Profile Rules (these are rules that state that you want to see and profile individual lines in a method). For example, in the previous image, the Chat UI Business Service has no Line Profile Rules set up. What you get in this case is the total time spent in the methods scripted for that object.
Profiling individual lines in a method
If you set up a Line Profile Rule for a method in a scripted object, the next time that method executes during a debugger session with the Script Profiler enabled it will show the individual lines that were executed. If you want to profile a method the first time it executes, set up the Line Profile Rules before starting the debugging session. After the methods have executed, if you want to profile the methods (say you forgot to set up a rule for a method and now want to include detail on that method) you simply click the checkbox next to the method. The next time the method executes it will profile the lines of that method.
Example of setting up a Line Profile Rule

In this example dialog above, you specify the object type, the name of the object, and the method you want to profile. Once you click the Add button this is added to the set of methods that will be profiled for the debugging sessions.
We hope this short walkthrough is useful and helps Siebel Developers quickly realise the benefits of using the new Script Profiler feature to improve productivity and script quality.