Worldgen profiling
Adds custom JFR events to profile world generation
695
8
Optimization
Utility
World Generation
Worldgen profiling has been archived. Worldgen profiling will not receive any further updates unless the author decides to unarchive the project.
Creating a JFR report
- Launch Minecraft with Fabric.
- Download the latest release and add it in the
mods
folder. - Start by running the
/jfr start
command 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 Browser
Page in the Outline.
- Find the
Minecraft > World Generation > Feature Placement
event 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.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.20–1.20.4
1.19.x
1.18.x
Platforms
Fabric
Supported environments
Creators
Details
Licensed MIT
Published last year
Updated last year