[Studio Beta] Introducing LibMP: the MicroProfiler API
Key Takeaways
All MicroProfiler data is now programmatically accessible via LibMP! Build custom profiling widgets, collect client/server analytics, create snapshots, and analyze them later.
Read the announcement to get the LibMP Luau module and unlock it for your games.
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:
github.com
GitHub - Roblox/libmp: Performance data processing engine
Performance data processing engine
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 HttpService to your external ba…