← Back to Command Directory
← Back to Home
/perf
Captures performance information and metrics about the game for 10 seconds. Produces a report with tick times, memory usage, and other diagnostic data.
Syntax
/perf (start|stop)
Parameters
| Name | Required | Description |
| start|stop | Yes | Starts or stops the performance capture session. |
Examples
/perf start
/perf stop
Notes
- Requires permission level 4 (server owner).
- Dedicated server only.
- Added in Java Edition 1.17.1.
- When started, the server collects performance data for 10 seconds and saves the results to a timestamped file in the
debug/profiling directory.
- The report includes tick-by-tick timing, memory usage, garbage collection data, and more.
Command Block Use
This command is not usable from command blocks. It is a dedicated server administration tool.
Related Commands