Touch Develop retirement postponed until June 22, 2019. Sign-in and access to cloud assets to be removed on May 23, 2018.Learn More..


You can use the built-in profiler to measure the performance characteristics of your script. The profiler measures how long it takes for each line of code in your script to execute.

how to run the profiler

To launch a profiling run, first tap on the script properties in the editor, then tap on the profile button.

how to understand the profile results

After you complete a full run, your code will be annotated with profiling information. When you leave the editor, the profiling information is deleted.
On the right, there is an annotation of the form x ms / n. This means that the line was run n times, and the cumulative time for all times is x milliseconds. Different shades of red indicate how expensive a particular line in the code is.

crowd profiling information

This feature has been discontinued.