Edit

GetProfile ()

Result type:  string

Definition:  Obtains a report on the running time of each line of the script that the function is called from. Every line with a running time of 1ms or more is included. Use this function to diagnose performance problems in your script (i.e to answer the question: "what part of my script is taking so long?").