Optimize performance
optimize_performanceScan a network for cook-time bottlenecks and receive concrete suggestions. Optionally apply resolution scaling to flagged TOPs to reduce cook times and see before/after sizes.
Instructions
Scan a network for cook-time bottlenecks and report the slowest nodes with concrete suggestions. By default this is a read-only measurement; with apply=true it mutates flagged TOP resolutions by scale and returns the before/after sizes. Run get_td_performance when you only need metrics; use this tool when you want the bounded resolution change, and leave apply=false for a plan-only pass.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Network to analyze (recursively). | /project1 |
| apply | No | If true, actually lower the resolution of the flagged TOPs by `scale`. Default false = just report the bottlenecks and suggestions. | |
| scale | No | (apply) Resolution multiplier for flagged TOPs (0.5 = half on each axis). | |
| threshold_ms | No | Flag nodes whose last cook took at least this many milliseconds. |