Using debug.profilebegin to Track Performance
Roblox's Microprofiler is a tool that helps developers gain precious visibility into the worlds they create, pulling back the veil to see the performance characteristics of the parts of your world. Use this tool to diagnose problems, fight lag, and improve the speed and performance of your experiences.
In this video you will learn how to use an API called `debug.profilebegin` and `debug.profileend` to track the performance characteristics of specific areas of the world you are building. This will help you identify specific trouble spots, and hone in on the areas of your game which need to be optimized.