Rename MicroProfile timers based on the profiler label

As a Roblox developer, it is currently too hard to find your profiling entries in the Timers list in the MicroProfiler.

If Roblox is able to address this issue, it would improve my development experience because it would make the MicroProfiler easier to use.

For example when I write:

debug.profilebegin("FirstPerson_Update")
    ...
debug.profileend()

I expect the label to be named FirstPerson_Update in the Timers view. But it is called $UserToken_68. In the Details view it is properly presented as FirstPerson_Update.

image

11 Likes