
LiveProfiler
Real-time in-game performance profiler.
Автор: mesadev1601обновлён 21 мая 2025 г.
БиблиотекиОптимизацияУтилиты
Описание
LiveProfiler is a real-time in-game performance profiler for tracking how long specific processes take to complete. It provides low-overhead timing hooks that help identify performance bottlenecks in mods or internal systems.
This utility is primarily designed for mod developers to analyze the performance of their own code. However, it can also be used to inspect other mods that integrate with LiveProfiler, offering deeper insight into what may be impacting performance.
Галерея
Последние версии
Все версии →release
LiveProfiler 1.0.0
1.0.021 мая 2025 г.160Minecraft: 1.21.5fabric
Что нового
# LiveProfiler
Real-time in-game performance profiler for tracking how long a process takes to complete.

# Download as mod (1.21.5)
[Releases page](https://github.com/mesren2/LiveProfiler/releases)
# Use as dependency (mod developers)
## 1. Use jitpack to add to dependancies:
``Repositories block:``
```groovy
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
```
``Dependencies block:``
```groovy
dependencies {
implementation 'com.github.mesren2:LiveProfiler:1.0'
}
```
## 2. Create a feature
Make a feature class with a register() func:
```java
public static void register() {
LiveProfiler.begin("MyFeature");
// feature process goes here
LiveProfiler.end("MyFeature");
}
```
In your ``ClientModInitializer()`` function, add:
```java
// 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``.
