Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Gear (item).gif
This article is a work in progress. 
Please help in the expansion or creation of this article by expanding or improving it. The talk page may contain suggestions.
Dark Oak Sapling JE7 BE2.png
This article is a stub. 
You can help by expanding it.
Information icon.svg
This feature is exclusive to Java Edition. 
perf
Permission level
required

4

Restrictions

No command blocks
Dedicated server only

Captures information and metrics about the game for ten seconds.

Syntax[]

perf (start|stop)

Arguments[]

perf start will start a recording for 10 seconds capturing metrics such as tick durations, used heap sizes and other more detailed stats.

perf stop before the 10-second limit will end the recording early.

Outputs[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
/perf startOn success110
/perf stopOn success110

History[]

Java Edition
1.17Pre-release 1Added /perf.
Advertisement