Loading Time Analysis Plugin for Minecraft
This tool provides comprehensive game loading analysis, breaking down every stage of Minecraft's boot process with detailed timing information.
Game Loading Analysis Process
The startup workflow is divided into three principal stages:
- Mod loader initialization
- Minecraft preparation (base setup + mod initialization)
- Resource reloading (content loading + mod processing)
Mod Loader Initialization Phase
During this stage, the Forge loader activates essential services: access transformers, core mods, mixins, and this profiling tool. Initial scanning of modification files occurs, with mods lacking active services remaining inactive.
The profiler details this process across 5 sub-stages:
- Rapid service activation
- Service module loading (potential delays may occur here)
- Modification scanning
- Launch plugin analysis
- Class loader transformation (intensive work with mixins and core mods)
Game Preparation Process
Final phase: block models are analyzed and distributed. The plugin identifies 10 stages:
- Reading JSON model files
- Parsing and analyzing model structures
- Integrating specialized modified models
- Building element hierarchies with parent connections
- Texture merging and unified graphics atlas creation ✓ added information about parallel process distribution
- Model conversion with texture coordinate assignments
- Model adjustments by other mods
- Assigning finished models to individual block states
- Synchronization with parallel loading processes
- Final texture atlas loading into GPU memory
Loading Report Interpretation
When using the profiler, a detailed report generates in the logs/profiler/loading-
Game Bootstrap Analysis Section
- Displays duration of mod loader initialization and game preparation stages
- Tracks 22 distinct phases total
- Resource-intensive operations include: loader transformations, mod structure creation, game object registration
Management of Reload Manager Tasks
- Shows complete task execution time with individual statistics
- Displays main thread execution and total CPU resource consumption
- Primary workload focus: Model Manager system (particularly with abundant block models)
Thread Efficiency Metrics
- Main thread utilization coefficient indicates load distribution issues
- Additional multithreading calculates conditional active CPU cores
- Idle time signals auxiliary difficulties with mod loading complexities
Mod Loading Analysis
- Dedicated mod initialization time excluding mixins and Fabric processing
- Process detail breakdown: preliminary operations and mod event handling
- Incorporates supplementary Model Analyzer task to investigate sources of slow models
Video demonstrations loader profiling: https://www.youtube.com/watch?v=example1
Mod sizing report model count integration:
- Active resource pack count statistics
- Collective loaded model file size
- Baked models in indexed memory
- Specific functionality classification through modifications
DIST-->
Model Loading Progress per Console Integration Schema