Commands/jfr

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

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

Syntax

 * Start JFR profiling.
 * Stop JFR profiling.
 * Stop JFR profiling.
 * Stop JFR profiling.

History
Comandos/jfr 命令/jfr