
Worldgen profiling
Adds custom JFR events to profile world generation
Оцените первым
1.4K
8
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.
!jmc_SuUZYxQXXM - Select the
Even BrowserPage in the Outline.
!jmc_rvRbBmPA1r - Find the
Minecraft > World Generation > Feature Placementevent type, and select it. - Create a new page with just this event type.
!jmc_0pSlSrsXNA - Because the JFR file has an event for each feature placement per chunk, it is useful to group events.
!jmc_di6ct6Eoin !jmc_HvCkGq9xMT - In this view, you can show average and total durations. It is now really easy to see which features are the bottlenecks.
!jmc_FwmZ5h4ZDg !jmc_DxJRDkXVTw
Часто задаваемые вопросы
Совместимость
Ссылки
Создатели
Детали
Лицензия:
Опубликован:2 года назад
Обновлён:2 года назад
