Start a 10 second run
/perf startRecords performance for 10 seconds, then saves the report.

/perf records the server performance for 10 seconds and saves a debug report. Server admins and data pack authors use it to see what takes time in each tick, then study or share the report to fix lag.
/perf start/perf stop// Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
/perf startRecords performance for 10 seconds, then saves the report.
/perf stopEnds the run before 10 seconds and saves the report.
Fill in the fields, then copy the command.
Command generatorperf start launches a 10 second run that stops by itself; perf stop ends it early if you already have what you need. The chat then shows the recorded seconds, ticks and ticks per second, followed by Created debug report in and the location of the report.
/perf needs permission level 4. Only one run at a time: a second start answers The performance profiler is already started. For a recording with no time limit, use /debug or the more detailed /jfr.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
10 seconds, then it stops by itself and saves the report. Run /perf stop to end it sooner.
You ran /perf stop while no run was active. Start one with /perf start first.
On a server, as an operator or from the server console: /perf start. It does not exist in single player.
Server owner or console, level 4. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
It is in the official command tree since Java Edition 1.17.