Download Worldgen profiling — Minecraft Mods — MetaMods

Worldgen profiling

Archived

Downloads

0

Last update

1 year ago

Versions

1.18 — 1.20.4
Server
Fabric
Game optimization
Utils

World Generation Profiling in Minecraft

The Worldgen profiling mod provides powerful tools for analyzing world generation performance in Minecraft using Java Flight Recorder (JFR) technology.

Creating a JFR Report

To get started, install Fabric Loader and add the mod to the mods folder. After launching the game, execute the /jfr start command and move to an area with unexplored territory to generate new landscape. When finished, use /jfr stop - the report will be saved in the .minecraft/debug/client-*.jfr file.

Data Analysis

To view the results, you'll need the JDK Mission Control utility. Open the created file through the "File > Open File..." menu. In the "Event Browser" section, find the "Minecraft > World Generation > Feature Placement" category - here you'll find data about the placement of all game objects.

Create a separate page for this event type. Since JFR records each object placement in a chunk, it's useful to group the data for better visualization. In this view, it's easy to evaluate average and total execution times, allowing you to quickly identify the most resource-intensive elements of world generation.

jmc_SuUZYxQXXM

jmc_rvRbBmPA1r

jmc_0pSlSrsXNA

jmc_di6ct6Eoin

jmc_HvCkGq9xMT

jmc_FwmZ5h4ZDg

jmc_DxJRDkXVTw

Project members
Misode

Misode

Developer

Created: 15 Oct 2023

ID: 13371