Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Worldgen profiling

Worldgen profiling

Adds custom JFR events to profile world generation

964
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.

Compatibility

Minecraft: Java Edition

1.20–1.20.4
1.19.x
1.18.x

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

Misode
Misode Owner

Details

Licensed MIT
Published last year
Updated last year
DescriptionChangelogVersions

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

Modrinth is open source.

main@16c5a5a

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.