situation
Catch slow code before it merges
Perfloop reviews new pull requests in the repos you select. For a pull request from a branch in the same repo, the review runs workloads that exercise the changed code, such as the repo's benchmarks, on the base commit and on the head commit, and compares the results. It posts the problems a run of the changed code proved as a review on the pull request. Perfloop cannot fail a check or request changes, so your CI and your reviewers keep the merge decision.
The workflow
- Connect your repos in Setup.
- In Setup → Automatic work, an Admin sets PR review to First push or Every push for a repo. It is off by default.
- Perfloop posts a comment-only review. A finding on lines the pull request changed is a comment on those lines. Select Open in Perfloop on a finding to open its Case, and Work this case there to test it at the reviewed commit.
- Your coding agent can measure any pull request in a selected repo, even with PR review off: it calls
submitDiffwithmeasure: truethrough the MCP server.
On GitHub.com, for a pull request from a fork, someone with write access first adds a 👍 to Perfloop's comment on the exact commit, because the review runs the contributor's build and test code. Reviews use Usage. Connect GitHub and Autonomy and limits explain each setting.
The measurements cover only the workloads Perfloop ran.
Public Cases
Perfloop found and fixed these in code already on each repo's main branch.
- lz4, Go: shortening the amd64 decoder's shortcut loop reduced the
BenchmarkUncompresstime from 211.6 µs to 174.7 µs per op. Verified and merged upstream. - distribution, Go: cold opens of small blobs no longer allocate a full-size buffer. Bytes allocated per download fell from 4,195,868 to 4,943. Verified and merged upstream.
What it cannot do
Perfloop opens pull requests, or an issue when a result suits one better. It cannot approve, merge, or deploy. A proven result opens nothing until a member selects Allow & open PR or Allow & open issue in Inbox, unless an Admin set that repo's Pull requests control to Open. When your repo's rules hold a result, the hold shows on its Case page instead. A hypothesis the evidence disproves stays on its Case as refuted. Start with the Quickstart.