Profile a slow local script

Stage timings and a measured optimization proposal.

Jump to the prompt
THE RESULT

Stage timings and a measured optimization proposal.

READY-TO-USE PROMPT
Run [SCRIPT] on the selected test sample in [REPO]. Measure major stages with an available profiler. Improve the largest confirmed bottleneck and compare both output and timings before and after. Use test data and existing local tools.

Paste into a conversation with LocalCommander. Replace bracketed fields with your own paths, files or URLs.

THE WORKFLOW

From your material to a result.

  1. 01

    Prepare the inputs: Script and a small test dataset.

  2. 02

    Replace square-bracket placeholders with the actual names, paths or URL. Paste the prompt into a chat with LocalCommander connected.

  3. 03

    Verify the result: Stage timings and a measured optimization proposal. Ask for the saved file location or the evidence behind the findings.