Command Reference
Minecraft /perf Command
developerJava Only
Starts or stops recording performance metrics, generating a diagnostic ZIP report in the server's debug folder.
Version Compatibility
Java Edition:1.21.4 (1.13+)
Command Syntax
Java Edition
/perf start | /perf stopArguments Explained
actionstart / stopRequiredWhether to start or stop the performance diagnostic recording.
Practical Examples
/perf startBegins tracking detailed tick times, CPU load, and resource allocations.
/perf stopConcludes diagnostic tracking and saves a summary report to disk.
Important Notes
Essential for server creators diagnosing lag spikes, tick drops, or custom plugin/datapack performance issues.