RovibesROVIBES // ROBLOX INFO
ENJA
更新中
DevForum26日前

[Studio Beta] LibMPの導入:MicroProfiler API

[Studio Beta] Introducing LibMP: the MicroProfiler API

要約(日本語)

Robloxは、クライアントとサーバーの両方でMicroProfilerのデータにプログラムからアクセス可能にする新しいLuau API「LibMP」を発表しました。このツールにより、開発者は独自のデバッグ用ウィジェットの作成や、詳細なパフォーマンス分析、外部ツールでの解析用スナップショットの取得が可能になります。

English summary

Roblox has launched LibMP, a new Luau API that allows developers to programmatically access MicroProfiler performance data across clients and servers. This tool enables the creation of custom in-game debug widgets, performance analytics collection, and snapshot generation for external analysis.

UpdateFeatureCommunity
元記事を読む →
+85Vibe

Vibe スコア

-100 〜 +100

コミュニティの反応

DevForum
Neutral0 eng

このトピックは10分後に自動的に公開されました。

This topic was automatically opened after 10 minutes.

DevForum
Neutral0 eng

これはバージョン726用ですか、それとも727用ですか?726に飛ばされてしまうので重要な質問です。他の人もそうなっているのかは分かりませんが、昨日は問題ありませんでした。zluauscatterhashのせいではありません(彼はまだバージョン726で止まっています)。[画像 360×150 2.87 KB] それで、.htmlファイルはどうなるのでしょうか?

Is this for Version 726 or 727? Important question because it is putting me in 726. I am not sure if it puts others there as well, but like yesterday it was fine. And not because of zluauscatterhash who is still stuck on version 726. image 360×150 2.87 KB   So what will happen to the .html file

DevForum
Neutral0 eng

これって `require("@rbx/LibMP")` で読み込めますか?

could this be requireable via require("@rbx/LibMP") ?

DevForum
Neutral0 eng

LibMP.Control:EnableProfiler(true)で強制的に有効にした場合、メモリトラッキングも有効になりますか?これが実現すれば、開発者が「ゲームを開く→モバイル端末でマイクロプロファイラーをオンにする→ゲームを終了する→Robloxクライアントアプリを強制終了する→Robloxクライアントアプリを再起動する」という手順を踏まなくて済むようになります。

Does this enable memory tracking if forced on by LibMP.Control:EnableProfiler(true) ? This will allow our devs not to have to go through the process of: Opening the game Turning on the micro-profiler on the mobile device Leaving the game Killing the Roblox client app Starting the Roblox client app J

DevForum
Neutral0 eng

それはそうと、あの場所のサムネイルめちゃくちゃかっこいいですね。とにかく、ライブサーバーでこれが使えるようになるのが待ち遠しいです!なぜか自宅のネットワークだとモバイル版のマイクロプロファイラーが見られないので、自分のゲームで開発者だけがモバイルからアクセスできるような仕組みを作れたらいいなと思います。

Okay but that place thumbnail is sick. Anyway, can’t wait to have access to this in live servers! My home network doesn’t let me view the mobile microprofiler for whatever reason, so it would be neat to make a dev-only way to access this on mobile for my game.

DevForum
Neutral0 eng

WASMからLuauへのSpiderのようなものが見られて最高です。Robloxがこれのオリジナルソースコードを公開する可能性はありますか?理解を深めようと目を通していますが、どうしても難しい箇所が多いです。また、フリーズやクラッシュの可能性を回避できるのであれば、@rbx/libmpの導入にも賛成です。

Awesome to see what seems like Spider for WASM to Luau - any chance Roblox might release the original source code for this? I’m skimming through to understand it more, but it’s kind of impossible in a lot of places. I also second @rbx/libmp if it gives opportunity to avoid freezes and potential cras

DevForum
Neutral0 eng

v726なら問題なく動作するはずです!では、.htmlファイルはどうなるのかというと、これまで通りそのまま使えます。それと同時に内部フォーマットの統一も行うので、LibMP経由でも読み込めるようになります。

This should work fine in v726! So what will happen to the .html files. They’ll continue to work as usual, and at the same time I’ll be unifying the internal formats, so they’ll also be readable via LibMP.

DevForum
Neutral0 eng

これは `require("@rbx/LibMP")` で読み込めるようになりますか?現時点では不可能です。社内で検討した結果、これらの `@rbx` ショートカットは特別な用途専用とすることに決定しました。実際のゲームで使用する場合は、引き続き手動で追加する必要があります。

could this be requireable via require(“ @rbx /LibMP”)? At the moment, no. We had some internal discussions about it, and it was decided that these @rbx shortcuts are reserved for special use cases only. For use in actual games, you’ll still need to add it manually.

DevForum
Neutral0 eng

これは正直かなり素晴らしいですね。……でも、何が素晴らしくないか分かりますか?マイクロプロファイラーでコアの割り当てと周波数が表示されなくなったことです![画像 504×317 10.4 KB] これが単なるバグであることを願います。というのも、これがないとモバイルでのプロファイリングが全く役に立たなくなってしまうからです。これは……で動作しているのでしょうか?

Now this is actually pretty darn awesome. … But you know what isnt awesome? The fact that the microprofiler stopped showing core assignments and frequencies! image 504×317 10.4 KB I hope this is just a bug because god i need that else all profiling on mobile is entirely worthless. Is it running on a

DevForum
Neutral0 eng

Coderz:LibMP.Control:EnableProfiler(true)で強制的に有効にした場合、メモリトラッキングは有効になりますか?ここでのロジックは以前と変わらず、単にプログラム上でMPを有効にするだけです。メモリカウンターがデフォルトで無効になるようリファクタリングされた際(経緯は長くなるので割愛しますが)、それらは再有効化のみが可能な設計となっていました。

Coderz: Does this enable memory tracking if forced on by LibMP.Control:EnableProfiler(true) ? The logic remains the same here, you simply enable MP programmatically. When the memory counters were refactored to be disabled by default (it’s a long story), they were designed so that they can only be re

DevForum
Neutral0 eng

image 821×515 23.1 KB So what was the original language this was written in? I don’t think a real person went in and created variable L9 or Code local L3pw, L3px, L3py, L3pz, L3q0, L3q1, L3q2, L3q3, L3q4, L3q5, L3q6, L3q7, L3q8, L3q9, L3qA, L3qB, L3qC, L3qD, L3qE, L3qF, L3qG, L3qH, L3qI, L3qJ, L3qK,

DevForum
Neutral0 eng

Spider Nice find! I like Spider a lot - it’s a wonderful tool, and it is indeed used here. WASM-to-Luau is a very powerful approach when you want to maintain a single codebase that runs across different environments and languages. any chance Roblox might release the original source code for this? Ye

DevForum
Neutral0 eng

So what was the original language this was written in? It’s written in C++ and exposes a C-style API to make this WASM-based approach work.

DevForum
Neutral0 eng

Pretty interesting approach. I was expecting a full pure Luau implementation but this is cool to see as well.

DevForum
Neutral0 eng

the microprofiler stopped showing core assignments and frequencies! I remember that the last time this addon caused a regression on macOS, we did some refactoring, and it’s possible we haven’t re-enabled it yet. I’ll double-check - thanks for reporting it! It’s also good to know that this feature is

DevForum
Neutral0 eng

Yes thank you thank you! A smaller issue i have experienced with the profiler for a bit of time is that it tends to swap labels around like this. It’s not a big deal to be fair since i know what it actually is (and i imagine most developers who properly label their code will also know what it is act

DevForum
Neutral0 eng

Will MicroProfilerService ever be properly documented? The compiled system seems to be using it, and I would like it if it was documented so folks can make a pure Luau implementation if they wish in their libraries.

DevForum
Neutral0 eng

Noctua: Pretty interesting approach. Yeah, pure Luau would be better for… Luau. But we work with MP data in C++ (in the engine), in Luau (in scripts), and in JavaScript (in the HTML dump viewer). Our engineers also frequently write small Python scripts to extract information from dumps. On top of th

DevForum
Neutral0 eng

ZenMa1n: But we work with MP data in C++ (in the engine), in Luau (in scripts), and in JavaScript (in the HTML dump viewer). Our engineers also frequently write small Python scripts to extract information from dumps. Hmm. JavaScript is understandable when it comes to working with HTML files, but Pyt