Lua performance profiling API

Mmmm alright, maybe my description wasn’t a good repro.
But I can reproduce it if I zoom out and try to right click on this lime green bar near the detailed view bar.

Can you post the code that makes this happen?

Yeah, finding that “Detailed View” and rightclicking the green “Draw(ing?) Graph” line (0.000ms) crashes.

1 Like

It wasn’t code, it was some internal profile.
The point is, attempting to click on a profile bar that starts and ends on the same nanosecond(?) causes ROBLOX Studio to hang.

Will fix next week-ish.

3 Likes

Updated wiki with some info.

http://wiki.roblox.com/index.php?title=MicroProfiler
http://wiki.roblox.com/index.php?title=Global_namespace/Basic_functions&redirect=no#debug.profilebegin

6 Likes