Profile Python code to find actual bottlenecks before optimizing
/plugin marketplace add tachyon-beep/skillpacks/plugin install axiom-python-engineering@foundryside-marketplace<file.py> [function_or_script_args]# Profile Command Profile Python code to identify real bottlenecks. Never optimize without profiling first. ## Core Principle Humans are terrible at guessing where code is slow. Profile first, then optimize the actual bottleneck. ## Process 1. **Run CPU profiling** Or for more detail: 2. **Identify top bottlenecks** - Look at cumulative time (tottime vs cumtime) - Identify which functions consume the most time - Note call counts for frequently-called functions 3. **For memory profiling** (if memory is the concern) Or line-by-line: 4. **Report finding...