https://developer.roblox.com/articles/MicroProfiler
The MicroProfiler is a very powerful tool for developers to debug and assess performance issues in their game. That being said, it’s unfortunate that such a tool lacks technical information (or anything at all).
A recent thread regarding profiles (specially a server profile capture) led me to go on a search for information on the MicroProfiler, something which I have done before but put off due to not being able to find much on it, nor did I use it as often. Now that I actually do use this tool and there are others looking to use it, the lack of information is a little hard hitting.
I’ve spent a while reading the single article on the MicroProfiler, as well as watching the three videos on it. They introduce the MicroProfiler but there isn’t any actual information to go off of aside from “if a bar is too big, you have performance issues!”. The DevForum wasn’t of much help either, since searching “MicroProfiler” just has tons of threads asking what labels mean or how to use it in the first place.
The only use I really have found for the MicroProfiler where I actually know how to use it is the debug library where you can open up your own sections within the MicroProfiler to analyse the performance for a chunk of code that you specify. Everything else, presumably, is internal and unknown to me.
It would be very helpful if some more information was added regarding the MicroProfiler. One major piece of knowledge that’d be great to possess is what some of (or all of) the bars not developer-created via the debug library mean or how they impact performance in a game. It’d also be helpful to know what is important to target in a codebase to reduce the performance hits those sections have (i.e. Physics).
That being said, I don’t know what any of the options in the tool strip bar do either, so I click things and hope that I’m not doing anything wrong. This goes for both the in-game MicroProfiler and a server profile capture (though the server capture is a little easier to understand based on inferences and assumptions, while I’m not sure what the many options for the in-game profiler are at all).