# THE Performance Machine.

Perfloop learns your system from code and telemetry, and hunts a wide catalog of performance patterns. A change reaches you only after your checks pass, the speedup is measured against the baseline, and disproving it has failed. What you get is a stream of proven pull requests, and software that stays fast.

[watch the loop run · 3:58 →](https://perfloop.ai/how-it-works#demo)

the controls · four switches per repository · one research cadence

1. MODEL UPKEEP *Keep the map of my system current. It moves when my code does.*on from day one · the model rebuilds as the code changes
2. CASE WORK *Keep working the frontier. I'll review on my schedule, not yours.*off until you turn it · triage starts one case at a time
3. PR FEEDBACK *When feedback lands on an open PR, handle it.*on from day one · feedback from your maintainers resumes the case
4. PULL REQUESTS *Open the proven PR the moment a case holds. The merge is mine.*off until you turn it · proof opens the PR · merge stays yours
5. RESEARCH *Set the goal. Bring what's new in the field to my code, cheapest test first.*a cadence you set · accepted hypotheses become cases on the frontier

perfloop.ai·/t/oss/frontier↻ ⋯

# Frontier

Cases

| Hypothesis | Where | Pattern | State |
| --- | --- | --- | --- |
| [Quadratic repository matching scan in selectRepoSet for branch-targeted queries](https://perfloop.ai/#/t/oss/case_erzmq5mptg) | perfloop/zoekt not anchored | INEFFICIENT ALGORITHM | VERIFIED |
| [Return early for constant sorting keys](https://perfloop.ai/#/t/oss/case_8ebwekrder) | perfloop/clickhouse MergeTree insert part-write loop | INEFFICIENT ALGORITHM | VERIFIED |
| [Pool OTLP converter scratch state](https://perfloop.ai/#/t/oss/case_2vbpy6vz77) | perfloop/prometheus OTLP metrics ingestion | ALLOCATION HOT LOOP | VERIFIED |
| [BCE, loop unrolling, and redundant copy elimination in lazyIORBitmap and lazyORBitmap](https://perfloop.ai/#/t/oss/case_gh0svmf28c) | perfloop/roaring Parallel union operations (OR) | DATA PARALLEL GAP | VERIFIED |
| [Eliminate cache-populate completion wait after upstream EOF](https://perfloop.ai/#/t/oss/case_mtzbwvz133) | perfloop/tag S3 object GET cache delivery | SYNC WAIT | VERIFIED |

proof

merged upstream

- [Zoekt](https://github.com/search?q=repo%3Asourcegraph%2Fzoekt%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)
- [ClickHouse](https://github.com/search?q=repo%3AClickHouse%2FClickHouse%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)
- [Prometheus](https://github.com/search?q=repo%3Aprometheus%2Fprometheus%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)
- [RoaringBitmap](https://github.com/search?q=repo%3ARoaringBitmap%2Froaring%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)
- [Tigris TAG](https://github.com/search?q=repo%3Atigrisdata%2Ftag%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)
- [Ruff](https://github.com/search?q=repo%3Aastral-sh%2Fruff%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)
- [parquet-go](https://github.com/search?q=repo%3Aparquet-go%2Fparquet-go%20is%3Apr%20is%3Amerged%20author%3Aperfloop-agent&type=pullrequests)

running perfloop

- Tigris Data

[model: **129** repos](https://app.perfloop.ai/t/oss/model) [**333** cases run · **75** validated across **40** repos · **23** merged upstream](https://app.perfloop.ai/t/oss/roi) investment: **3,286** measured patch revisions snapshot · 2026-08-24

## *Start the loop.* *Keep it fast.*
