Start profiling with Java FlightRecorder as well as a few custom events.
- Start JFR profiling.
- Stop JFR profiling.
Profiling contains several custom events below:
minecraft.ServerTickTime: sampling event exposing average server tick times at one second intervals.
minecraft.ChunkGeneration: time taken to generate individual chunk stages.
minecraft.WorldLoadFinishedEvent: initial world loading duration.
A summary JSON report is written both to the log file and in the debug folder accompanied by a .jfr recording ready to be analyzed in i.e JMC or any other profiler tool supporting the format.
The results in `/execute store result` are the opposite to most commands - whether this is intentional or not is unknown.
|Java Edition||On fail||0||0||1|
|Upcoming Java Edition|