Script profiler

Niggemann, Bernd Bernd.Niggemann at
Sun Jun 7 15:27:41 EDT 2020

Jacques wrote

> Does anyone with a business license use the script profiler? I'm having trouble interpreting what it reports. According to the lesson in the LC Lessons, it looks like the most recent handler is recorded on top of the output but I'm getting output that is all mixed up without any order that I can see.
> I also deliberately repeated a user action three times, and the stack responded correctly, but I only see one instance of the handler in the profiler. Is that normal? Or should it list every occurance?
> I am trying to track down an inexplicable lag in responsiveness in my app.

For me Script profiler returns the handlers in order of time consumed, the top one used the most time

Then it reports the number of calls and the cumultive time for each line that was called. The times are relative to each other, not the real times without the overhead of the profiler. 
But they give a good indication of where the bottlenecks are.

Kind regards

More information about the use-livecode mailing list