A ResoniteModLoader mod for Resonite.
This mod provides a simple performance metrics counter for Resonite, useful for world optimisation.
It can measure execution times for components and ProtoFlux node groups.
These execution times are measured per RefreshStage, helping you to identify and fix performance bottlenecks in your world.
Tip: Before using this mod, it is recommended to first check the Debug options in the DashMenu. For example, the "Focused World" and "Physics" tabs provide accurate values for each stage without any overhead. Once you have identified potential performance issues, you can use this mod to pinpoint specific components or slots causing the problem.
Important: This mod shows performance data to help you find and fix slow parts of your world. But, be careful when reading the data. Here are some tips:
-
Context Matters: High numbers do not always mean a problem. It might just be a complex task.
-
Compare Wisely: Only compare data from the same world or setup. Different setups can give different results.
-
Focus on Big Issues: Fix the parts that slow down your world the most. Small issues might not need fixing right away.
-
Work Together: Share your findings with others. Avoid blaming without understanding the full picture.
By following these tips, you can use this mod to make your world better and help the community.
Note: The metrics from this mod have limits:
-
Not Perfect: The numbers may not be 100% correct or complete. This mod is not part of the engine, so perfect accuracy is not possible.
-
ProtoFlux Node Groups: For ProtoFlux, the mod measures NodeGroups, not individual Nodes. NodeGroups have many Nodes, so their numbers can be bigger than components.
- Install the ResoniteModLoader.
- Place the ResoniteMetricsCounter.dll into your
rml_modsfolder. This folder should be located atC:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_modsfor a standard installation. You can create it if it's missing, or if you start the game once with the ResoniteModLoader installed it will create this folder for you. - Launch the game. If you want to check that the mod is working you can check your Resonite logs.
- Open the
Editorcategory in theCreate Dialog. - Press the
Start Metrics Counter (mod)button.
For development:
- Target framework is .NET 9 (net9.0).
- CI builds on ubuntu-latest and sets up the Resonite environment via setup-resonite-env.
- For hot reload in DEBUG, install ResoniteHotReloadLib into
rml_libsin your local Resonite directory.

