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.
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
Command and function timing
Commands and functions are timed over a chosen window, with results ordered by execution and sorted by total time taken.
Console and JSON output
Print subcommands show results as text in the console, and save subcommands write the same data to a JSON file.
Trace mode
Trace output covers only the last captured tick, which helps pinpoint a single slow frame in a function.
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.
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
How it compares
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.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Command Profiler | Fabric | 1.21.9 – 26.3 | Server-side only | 2026-09-06 |
| Keybind Profiler | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-03-04 |
| Radial Macros | Fabric | 1.21.8 – 26.2 | Client-side only | 2026-07-22 |
Questions
Does Command Profiler have to be installed on the server?
Which game versions does Command Profiler cover?
How do players see the results of a profiling run?
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
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.
Official listing
- Modrinth page
- modrinth.com/mod/command-profiler
- Owner
- EpicPix
- Published
- 2026-01-10
- Updated on Modrinth
- 2026-09-06
- Facts verified
- 2026-10-15
