
Worldgen profiling
Adds custom JFR events to profile world generation
Автор: Misode1,6 тыс.8обновлён 12 дек. 2023 г.
ОптимизацияУтилитыГенерация мира
Описание
Creating a JFR report
- Launch Minecraft with Fabric.
- Download the latest release and add it in the
modsfolder. - Start by running the
/jfr startcommand and generate new terrain. - Run
/jfr stop. This will create a file at.minecraft/debug/client-*.jfr.
Analyzing the JFR report
- Download and install the JDK Mission Control tool.
- In Mission Control, navigate to
File > Open File...and select the JFR report.

- Select the
Even BrowserPage in the Outline.

- Find the
Minecraft > World Generation > Feature Placementevent type, and select it. - Create a new page with just this event type.

- Because the JFR file has an event for each feature placement per chunk, it is useful to group events.

- In this view, you can show average and total durations. It is now really easy to see which features are the bottlenecks.

Последние версии
Все версии →release
Worldgen profiling 1.3.1
1.3.112 дек. 2023 г.947Minecraft: 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
release
Worldgen profiling 1.3.0
1.3.012 дек. 2023 г.144Minecraft: 1.19.3, 1.19.4fabric
Что нового
Update to 1.19.3 and 1.19.4
release
Worldgen profiling 1.2.0
1.2.014 окт. 2023 г.210Minecraft: 1.19, 1.19.1, 1.19.2fabric
release
Worldgen profiling 1.1.0
1.1.014 окт. 2023 г.174Minecraft: 1.18.2fabric
release
Worldgen profiling 1.0.0
1.0.014 окт. 2023 г.155Minecraft: 1.18, 1.18.1fabric