Worldgen profiling

Worldgen profiling

Adds custom JFR events to profile world generation

by
1.4K Downloads
fabricoptimizationutilityworldgen
Rent Server with this Mod

About this Mod

Creating a JFR report

  1. Launch Minecraft with Fabric.
  2. Download the latest release and add it in the mods folder.
  3. Start by running the /jfr start command and generate new terrain.
  4. Run /jfr stop. This will create a file at .minecraft/debug/client-*.jfr.

Analyzing the JFR report

  1. Download and install the JDK Mission Control tool.
  2. In Mission Control, navigate to File > Open File... and select the JFR report.
    jmc_SuUZYxQXXM
  3. Select the Even Browser Page in the Outline.
    jmc_rvRbBmPA1r
  4. Find the Minecraft > World Generation > Feature Placement event type, and select it.
  5. Create a new page with just this event type.
    jmc_0pSlSrsXNA
  6. Because the JFR file has an event for each feature placement per chunk, it is useful to group events.
    jmc_di6ct6Eoin
    jmc_HvCkGq9xMT
  7. 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

Available Versions

Worldgen profiling 1.3.1release
MC 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
December 12, 2023
Worldgen profiling 1.3.0release
MC 1.19.3, 1.19.4fabric
December 12, 2023
Worldgen profiling 1.2.0release
MC 1.19, 1.19.1, 1.19.2fabric
October 14, 2023
Worldgen profiling 1.1.0release
MC 1.18.2fabric
October 14, 2023
Worldgen profiling 1.0.0release
MC 1.18, 1.18.1fabric
October 14, 2023

How to Install Worldgen profiling on Your Server

1

Order Server

Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "Worldgen profiling". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+10 more)

Server-side

Required

Recommended RAM

6 GB(min. 4 GB)

Frequently Asked Questions

Worldgen profiling server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.

Is Worldgen profiling compatible with fabric?

Worldgen profiling officially supports fabric for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Worldgen profiling – how to optimize performance?

Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if Worldgen profiling consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Worldgen profiling with just one click on your server.

Recommended RAM
6 GBab €12/mo
Min. 4 GB | +1 GB pro 5 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.41.20.31.20.21.20.11.201.19.41.19.31.19.21.19.11.19+3 more