Commands/jfr

Start profiling with Java FlightRecorder as well as a few custom events.

Arguments

 * Start JFR profiling.


 * Stop JFR profiling.

Result
Profiling contains several custom events below:
 * : sampling event exposing average server tick times at one second intervals.
 * : time taken to generate individual chunk stages.
 * | ：network traffic.
 * : 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.

Output
The results in `/execute store result` are the opposite to most commands - whether this is intentional or not is unknown.

History
命令/jfr