TL;DR
As AI coding agents advance from fixing bugs to optimizing code speed, benchmarks like GSO, SWE-Perf, and SWE-fficiency have emerged to measure their performance. This paper delivers a critical audit of these benchmarks, revealing that leaderboard scores are highly unstable across different hardware, heavily distorted by specific scoring metrics, and masking the fact that top agents have already solved or nearly solved the vast majority of tasks.
What Problem Does This Paper Address?
Evaluating whether an AI can make code run faster is fundamentally harder than checking if it can fix a functional bug. While functional repair benchmarks (like SWE-Bench) rely on binary test passes, performance benchmarks must measure execution time—a noisy metric that fluctuates based on CPU scheduling, caching, and microarchitectural differences.
If an agent's leaderboard ranking changes simply because the benchmark was re-run on an AMD processor instead of an Intel one, the benchmark isn't reliably measuring coding capability. The authors tackle three core questions:
- Do official reference patches remain valid when replayed on different machines?
- How much do benchmark scoring rules distort public leaderboard rankings?
- Are these benchmark tasks still genuinely challenging for state-of-the-art agents?
Methods
The authors systematically audited three major repository-level benchmarks using three main approaches:
- Cross-Machine Replay: They replayed 740 official reference patches across four different generations of Google Cloud x86 processor platforms (spanning Intel and AMD chips from 2019 to 2025) over three separate rounds to see if the original performance gains held up.
- Scoring Rule Sensitivity Analysis: They analyzed how different mathematical aggregation methods—such as GSO's binary success/failure gate versus SWE-fficiency's harmonic mean—weight individual task outcomes and alter final agent rankings.
- Multi-Submission Task Audit: Instead of looking at a single agent run, they aggregated the outputs of 10 different public agent configurations per task to evaluate the true remaining performance gaps.
Datasets
The study evaluates three recent, peer-reviewed repository-level performance-optimization benchmarks:
- GSO (NeurIPS 2025): 102 tasks across 10 repositories, using generated performance tests to compare base and reference commits.
- SWE-Perf (ICML 2026): 140 tasks across 9 repositories, filtering unit tests from source repositories to measure runtime changes.
- SWE-fficiency (ICML 2026): 498 tasks across 9 repositories, using annotated workload scripts to compare expert-optimized commits.
Key Insights and Ideas
- Performance signals are hardware-fragile: A shocking number of optimization tasks lose their statistical significance or even run slower than the unoptimized baseline when moved to a different CPU generation. SWE-Perf is incredibly fragile because its tasks often target tiny, near-zero runtime changes that easily get swallowed by hardware noise.
- The "Tail" wags the leaderboard dog: SWE-fficiency aggregates scores using a harmonic mean with a strict floor ($0.001$). This mathematical choice means that a tiny handful of tasks where an agent severely slows down the code completely dominates the final score, rendering the rest of the benchmark almost irrelevant for the final ranking.
- The low-hanging fruit is gone: When looking across multiple public submissions, agents are rarely failing due to basic correctness or an inability to find any optimization. Instead, they easily beat the baseline code but stop short of iterating deeply enough to match the absolute peak efficiency of the expert reference patch.
Key Results
- Fragile Validity: Only 39 out of 102 GSO tasks, 11 out of 140 SWE-Perf tasks, and 411 out of 498 SWE-fficiency tasks maintained their benchmark-defined validity across all cross-machine replays.
- Metric Distortion: In SWE-fficiency, the worst 10 low-speedup tasks carry a massive 58.5%–82.8% of the total score weight. Applying a simple bounded-penalty diagnostic reshuffled 6 out of 8 public agent rankings and flipped 8 out of 28 head-to-head comparisons.
- High Task Coverage: Across 10 public agent submissions, at least one agent matched or beat the expert reference patch on 85.3% of valid tasks, and 99.8% succeeded in beating the unoptimized baseline code.
Limitations and Future Work
A key limitation noted by the authors is that SWE-Perf lacked public agent-output data at the time of collection, meaning it had to be excluded from the scoring and task-level coverage audits. Additionally, the multi-submission analysis serves as a proxy for task coverage rather than a newly engineered multi-agent workflow.
The authors conclude that the next generation of benchmarks must move away from "pre-chewed" tasks where the exact workload or bottleneck is already isolated for the agent. Instead, future benchmarks should test full-stack performance engineering: forcing agents to profile code, locate hotspots, navigate ambiguous optimization targets, and balance trade-offs between CPU time, memory footprint, and latency.
Summary updated