Command Profiler

⭐ — (1 endorsements) 📥 520 downloads 📌 v1.2.0+26.3-snapshot.10 📅 1/16/2026
🟡 Updated this year

By EpicPix · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 8/26/2026 📅 Created: 1/16/2026
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.2% endorsement rate
  • 🏆 #490 of 896 fabric mods in this game by downloads

📋 About This Mod

Command Profiler is a mod which lets you profile commands and functions using `/cmdprof`.

## Using the profiler

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`.

## Viewing profiler results

There are three different formats for taking the data 1. display text in console (subcommands that start with `print`) 2. save as JSON (subcommands that start with `save`) 3. save as bytes (same as `save` except you need to provide `bytes` as an argument)

This does mean that you need access to the server console to view the profiler results.

There are `print` and `save` subcommands for viewing the profiler results over the entire duration of the profiler running. (`print` is sorted by total time taken)

And there are `print_trace` and `save_trace` subcommands for viewing the profiler results over the last captured tick. (ordered by execution)

## Configuring the profiler

You can configure the profiler using the `/cmdprof config` subcommand, there are currently 4 options: - `granularity` - when set to `command` all commands will be profiled, and when set to `function` commands will not be profiled individually - `macro_commands_as_templates` - when set to `false`, commands which have macros will have their arguments inlined into the command - `function_line_numbers` - when set to `true`, commands will include their line number, instead of being set to `0` - `collect_memory_usage`, when set to `true`, all events will track the memory usage (this reduces the performance by quite a bit, not worth using it unless you're trying to make a mod which fixes memory usage issues) - `macro_function_instantiation_events`, when set to `true`, profiler results will include how long it takes to instantiate a macro function as a separate step, instead of merging it with the command that executes the instantiation

## Viewing data online

You can open the profiler online using `/cmdprof online view`, and stop it using `/cmdprof online stop`. Note that you need to enable the profiler using `/cmdprof enable` first, otherwise there will be no data provided.

The profiler automatically refreshes data every second when it is running.

## Benchmarking functions

Using `/cmdprof benchmark run `, you can benchmark a function or a function tag, it might take a while, but after it finishes, it will display the results in chat. You can cancel a currently running benchmark via `/cmdprof benchmark cancel`. A successful `/reload` automatically cancels all pending benchmarks. The benchmarked function(s) run in the server command context instead of whoever is running it.

Note: You don't need to have the profiler enabled for benchmarking specifically, you should probably do `/cmdprof disable` to have a more accurate representation of how fast a function could be. However you might still want to keep the profiler enabled, if you want to dump the results for example.
🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
EpicPix
Version
1.2.0+26.3-snapshot.10
Downloads
520
Endorsements
1
Category
fabric
Created
1/16/2026
Updated
8/26/2026
Game Versions
26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5
Tags
management, optimization, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Command Profiler support?

The author lists 26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5, 26.3-snapshot-6. Other versions may work but are untested by the author.

What is the latest version of Command Profiler?

Version 1.2.0+26.3-snapshot.10, published 2026-08-26 with 520 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by EpicPix 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods