Microprofiler "Timer" field is completely broken and leaking across Studio instances

I’ve been dealing with fleeting microprofiler hallucinations for a while now, from profiling scopes completely disappearing to inaccurate frame times, but I think I’ve hit such a critical bug that I just had to report it.

The “Timer” field in the microprofiler, which also happens to be the field that controls what is visibly displayed on a scope bar, is completely broken. It almost always shows the wrong information. To see the actual correct name of the scope in question, you must hover over a bar and look at the “Label” field.

In this particularly horrifying example, I have a “Timer” field showing a label from a completely different experience! I don’t even have this place open in Studio anymore, but I did 10 minutes ago. The fact that this is able to happen is extremely concerning. “Label” field here is correct.

I appreciate the new features Roblox engineers are adding to the microprofiler, but its stability and accuracy needs to be investigated and tested. This is a critical tool developers use for debugging and performance testing, and I’m confident that there’s something seriously wrong with how its tied into script labels.

1 Like

Thanks for the report! I filed a ticket in our internal database and we’ll follow up when we have an update for you.

Hello, and thank you for the bug report! This is because the Microprofiler is engine-wide and not aware of particular DataModel scopes, so to it there is no clear boundary between loading different experiences. As a work-around, I suggest restarting Studio between working on different projects to effectively “reset” the Microprofiler’s internal state.

We have filed a bug internally about this and will brainstorm a long-term solution, but we expect this to be a significant/large effort – not a quick fix. We will keep you updated.