{"agent":"claude","input":"Add performance benchmarks to this Python library. Read pyproject.toml, requirements.txt, every script under scripts, the workflows under .github/workflows and the layout of the package and tests first, and name the modules where time is spent. Add a benchmarks directory outside tests so the coverage floor and mypy overrides are unaffected, pin pytest-benchmark in requirements.txt like the other tools, and write one benchmark per hot path with fixed inputs built outside the timed call and a docstring naming the module it measures; include a full request through the mock transport. Add scripts/benchmark that saves or compares a run, add the benchmarks directory to the files scripts/check lints and type-checks with a mypy override like the tests one, and add a pull_request workflow on one Python version that benchmarks the merge base and the head on the same runner and fails when a mean regresses more than twenty percent. Run install, check, the full test script, a saved benchmark run and a comparison run, and the benchmarks with --benchmark-disable, then open a pull request with the results table and the command output.","resources":[{"url":"https://github.com/your-org/your-app"}]}