ModsFinder

Command Profiler

by EpicPix

Command Profiler lets server operators measure how long commands and functions take to run, using the cmdprof command on Fabric servers.

FabricServer-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.21.9 – 26.3

What it does

Once started by an operator with the cmdprof enable command, the mod collects timing data for commands and functions. Results can be printed as text in the console or saved as JSON. Print and save subcommands report data over the whole profiling period, while print trace and save trace show only the last captured tick. Trace data requires cmdprof:local/trace to be enabled first, and profile data is enabled by default. The cmdprof reset command clears the current data and cmdprof disable stops collection.

Profiling can be scoped with the cmdprof config subcommand, which holds several options. Functions can be profiled individually or together, command macros can be shown with their arguments inlined, and line numbers can be included in function output. Tracking memory usage is optional and reduces performance somewhat, so it is left off unless the goal is to diagnose memory problems. Results from macro instantiation can be separated from the command that executes the instantiation. The mod is server-side only, and it is open source under the GNU Lesser General Public License v3.0 only. Source code and an issue tracker are public. Snapshot builds are published.

Key features

  1. Command and function timing

    Commands and functions are timed over a chosen window, with results ordered by execution and sorted by total time taken.

  2. Console and JSON output

    Print subcommands show results as text in the console, and save subcommands write the same data to a JSON file.

  3. Trace mode

    Trace output covers only the last captured tick, which helps pinpoint a single slow frame in a function.

  4. Configurable profiling options

    The config subcommand controls function line numbers, macro instantiation timing, memory tracking and whether the server sends scoreboard data to online clients.

Compatibility

Latest build for each game version and loader.

26.31.4.1+26.3-pre.2
26.21.4.1+26.2
26.1.21.4.1+26.1
26.1.11.4.1+26.1
26.11.4.1+26.1
1.21.111.1.4+1.21.11
1.21.101.1.4+1.21.9
1.21.91.1.4+1.21.9
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

How it compares

Full comparison

Keybind Profiler is a client-side only Fabric mod for 1.21 – 1.21.11 under All rights reserved, so it does not measure server commands. Radial Macros is client-side only, open source under the CC0 1.0 Universal license and published for 1.21.8 – 26.2, covering macros rather than timing.

ModLoadersGame versionsEnvironmentUpdated
Command ProfilerFabric1.21.9 – 26.3Server-side only2026-09-06
Keybind ProfilerFabric1.21 – 1.21.11Client-side only2026-03-04
Radial MacrosFabric1.21.8 – 26.2Client-side only2026-07-22

Questions

Does Command Profiler have to be installed on the server?

Yes. Players join without it, since only the server has to run the mod.

Which game versions does Command Profiler cover?

The latest Fabric file is 1.4.1+26.3-pre.2 for 26.3, and files cover 1.21.9 – 26.3 across eight release versions.

How do players see the results of a profiling run?

Use the print or save subcommands in the server console. Trace data needs cmdprof:local/trace enabled before it can be viewed.

In the catalog

Command Profiler is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 8,071 mods support Minecraft 26.3.

More from EpicPix

All projects

Similar mods

What the author says

Command Profiler is a mod which lets you profile commands and functions using /cmdprof. You can start the profiler if you have operator privileges using the /cmdprof enable command. For the profiler to stop collecting data do /cmdprof disable, and to reset the current profiled data do /cmdprof reset.
EpicPix, on the Modrinth page

Official listing

Owner
EpicPix
Published
2026-01-10
Updated on Modrinth
2026-09-06
Facts verified
2026-10-15

Tags