Performance metrics

Performance metrics

  
I know that we can see slow running queries and screens, etc. in Service Center, but is there more information available? Is there the ability to log execution times for various pieces of a process or screen execution, for example, so that you can figure out exactly where all of the time is going? For example, if a screen takes a long time to come up, is most of the time in the Preparation or in rendering the screen? More precisely, exactly how long did everything take to execute? Aside from anything that might be automatically available from the platform, is there also a way to insert checks into your code to log timestamps during execution?

I took the old fashioned approach, and crudely set breakpoints and attempted to measure how long it took from here to there, etc. There's got to be a better way...
Hi,

When the slow sql/screens/timers/etc reports in ServceCenter > Analytics are not enough, you have the option to measure the execution of relevant parts on your code. You can use the Ticks extension for that (attached, you may need to go to outsystems.com/ipp to use it).

Just invoke it twice (begin/end of your section of code you wan to evaluate), and log the difference between the outputs:
(TicksEnd-TicksStart)/10000 = duration in ms