> ## Documentation Index
> Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# prism profile

> Identify resource consumption hotspots in contract execution.

The `profile` command helps you optimize your contract by showing exactly where the budget is spent.

## Usage

```bash theme={null}
prism profile <TX_HASH> [FLAGS]
```

## Insights

* **Top 5 Expensive Calls**: Ranked list of host functions by CPU/memory impact.
* **Budget Warnings**: Flags if a contract is within 10% of the network limits.
* **Storage Profile**: Breakdown of storage fees and ledger entry footprints.
