LiveProfiler
Real-time in-game performance profiler for tracking how long a process takes to complete.
Download as mod (1.21.5)
Use as dependency (mod developers)
1. Use jitpack to add to dependancies:
Repositories block:
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
Dependencies block:
dependencies {
implementation 'com.github.mesren2:LiveProfiler:1.0'
}
2. Create a feature
Make a feature class with a register() func:
public static void register() {
LiveProfiler.begin("MyFeature");
// feature process goes here
LiveProfiler.end("MyFeature");
}
In your ClientModInitializer() function, add:
// Replace with (all if more than one) your features
TestFeatures.register();
Building yourself
Download the source code and open it in [IntelliJ Idea](https://www.jetbrains.com/idea/] (or preferred java ide.)
Go to gradle sidebar > tasks > build > build
The output file will be in build > libs.



