Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Commands and cheatsAll commands

Switch game

23 Wikis · pick your game
/perf

Command

/perf

Records the server's performance for 10 seconds and saves the measurements as a report file.

Syntax

/perf (start|stop)

Details

Permission level4: server owners and the server console
Works inDedicated servers only: the command does not exist in singleplayer or LAN worlds. Needs permission level 4 (owners): operators with level 4 and the server console. Command blocks and functions cannot run it (their permission level is 2).
Resultstart reports "Started a 10-second performance profiling run (use '/perf stop' to stop early)". When the run ends, the server reports how many seconds and ticks it covered and the average ticks per second, then "Created debug report in <file>". The number /execute store saves is 0.
Run lengthA run ends by itself after 10 seconds. /perf stop ends it earlier.
Report fileThe report is a zip file in the server's debug/profiling folder, named after the date and time, the world name and the game version.
Failuresstart fails with "The performance profiler is already started" during a run; stop fails with "The performance profiler hasn't started" when no run is active.

Examples

/perf start

Starts a 10-second performance recording.

/perf stop

Ends the recording early and saves the report.

Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)