Hello Creators,
You asked, and we delivered: introducing LibMP, our new MicroProfiler Luau API! The LibMP API is available to everyone as a Studio beta today. If you want early access to enable LibMP in your live games, see more details below.
This initial release provides a single, unified API for accessing comprehensive, fine-grained performance information. With LibMP, we’re exposing almost all the real-time performance data we have across game Client apps on all platforms, Servers, and Studio.
If you’re new to performance profiling on Roblox, check out our MicroProfiler documentation and tutorial video to learn more.
How to Use LibMP
LibMP is a Luau library that you simply add to your game. It has its own dedicated site where you can read the documentation, download the module, and find example scripts:
LibMP isn’t just for real-time data inside Roblox. You can use it to capture snapshots (dumps) and then analyze these captures outside of Roblox via Lute, an official runtime environment for Luau, similar to what Node.js is for the web.
What to Use LibMP For
The possibilities are vast, but a few key use cases include:
- Custom Debug Widgets: Build your own in-game mini-profiler UI for testing and debugging.
- Performance Analytics: Collect custom performance metrics directly from both clients and servers.
- Client Snapshots: Capture performance data on the Client and send it to the Server for deeper analysis.
- Server Alerts: Generate snapshots on your Servers and send them via
HttpServiceto your external backend for analysis, allowing you to trigger alerts if performance drops.
LibMP Demo
Check out the demo game to get an idea of what is now possible:
Spoiler Alert: You can now profile both your local Client AND your remote Server directly from your mobile phone using your own scripts!
Rollout and How to Get Access
The LibMP API is accessible to everyone in Studio only, so you can start experimenting with the library immediately.
Want to use it in live Clients and Servers? While we plan to open access to everyone in the future, we’re currently rolling out live access by request. To enable LibMP in your live games, please complete our quick survey here.
We’ll try to grant access to everyone who requests. Our only ask is that you test LibMP thoroughly and share your feedback with us!
Important Note on Performance
Please be responsible when using this API in live environments. Enabling the MicroProfiler increases memory consumption. Once you have access, we advise enabling MP only for a reasonable percentage of game sessions, rather than your entire player base, to minimize overall performance impact. In the future, you’ll be able to customize data capture and buffer allocation to help minimize overhead while the MP is running, so you can enable it everywhere.
We’re going to be using LibMP extensively internally (keep an eye out for new releases!), and we’re incredibly excited to see how you leverage it to profile and optimize your games.
Happy building,
ZenMa1n





