Startup / Loading Profiler
This mod provides detailed analysis of Minecraft game loading time, breaking it down into separate stages and showing loading time for each mod individually.
How Loading Analysis Works
The game startup process is divided into three main phases:
Mod Loader Initialization
At this stage, Forge Mod Loader prepares necessary services including access transformers, core mods and mixins. The phase is broken down into five stages: service initialization, service loading, mod scanning, launch plugin work and transformer class loader work. The last stage can be particularly lengthy when there are many mixins.
Game Loading
Here the loading of Minecraft code and mods begins. The process is divided into 17 stages, each of which can be slowed down by mixins. Key stages include client early initialization, game content loading, user settings setup, mod construction, registry creation and game object registration.
Resource Reload
At this phase, tasks are executed in parallel. The mod shows execution time for each task and thread utilization rate. The slowest is usually ModelManager, which loads block models through 10 sequential stages: reading JSON files, parsing, adding special models, hierarchy resolution, texture stitching, model baking and their assignment to blocks.
How to Read the Profiling Report
After launching the game with this mod, a detailed report is created in the logs/profiler/loading-
Section 1: Game Loading
Shows the duration of 22 initial loading stages. Usually the slowest are transformer class loader work, mod construction and registry loading.
Section 2: Reload Manager
Displays total task execution time and time for each task separately. For each task, main thread time and total execution time are indicated. Thread utilization rate and idle time are also shown.
Section 3: Mod Loading Time
Here the initialization and loading time for each mod is displayed. Mods taking more than 0.1 seconds are listed separately, and for those taking more than 1 second, loading stage details are shown.
Section 4: Model Manager
Detailed analysis of 10 model loading stages, including information about the number of loaded model files, their total size and distribution across mods and resource packs.
Important Warnings
Loading time analysis is based on code usage, so resource loading (block models), mixins and Fabric mods are accounted for as part of vanilla game loading time.
Do not load existing worlds with this mod! Due to the intrusive nature of the mod, incompatibilities with some mods may occur when loading worlds. Use this mod exclusively for profiling and analysis.
Video review of the mod's work:
