Automated Performance Profiling with MicroProfiler and Assistant
Key Takeaways
MicroProfiler captures can now be automatically analyzed by Assistant to suggest fixes. This makes it easier than ever to identify bottlenecks and optimize performance.
In Studio, open the MicroProfiler (Ctrl+F6), pause a capture, and ask Assistant to analyze it.
Hello Creators,
To help more of you optimize your games’ performance, you can now use Assistant to analyze MicroProfiler frames for you and generate reports on performance bottlenecks. Similar to the streaming skill we shared recently, Assistant will even propose the changes to fix your issues!
This functionality also works via Studio MCP and can be integrated into agentic loops to provide feedback on how new changes impact your game’s performance.
Get Started in Studio
With Assistant, no preliminary setup is required – you just need an up-to-date version of Studio. If you prefer to use your own AI agent but haven’t tried it in Studio yet, check out these instructions for connecting it to the Studio MCP server.
• In Studio, open the MicroProfiler using Ctrl+F6 (Cmd+F6 on Mac)
• When you spot a frame time spike, pause the capture by pressing Pause in the top menu or via Ctrl+P.
• Ask the Assistant: “I’ve captured a frame time spike in the MicroProfiler – analyze it”, or
•
“… – what caused the spike?”
•
“… – is it physics-bound or script-bound?”
•
“… – which category has the highest exclusive time?”, or
•
“When I’m in the hangar, the FPS drops. Reproduce the issue, use MicroProfiler to find the cause, fix it, and retest.”
image11331×777 356 KB
Under the hood, this utilizes the MicroProfiler API (LibMP) that we recently announced. With this API, you can programmatically access every piece of data in the MicroProfiler. Be sure to check it out if you’re an advanced developer looking to dive deeper!
We’d love to hear your feedback on automated profiling and how you’re using it in your workflow, so please share below…