mlsanityData to 7 Oct 2026

SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?

arXiv 2511.06090 ↗First posted 8 Nov 2025cs.SE cs.AI cs.PFcited by 15

Not on the map. Why?

Abstract (arXiv)

Optimizing the performance of large-scale software repositories demands expertise in code reasoning and software engineering (SWE) to reduce runtime while preserving program correctness. However, most benchmarks emphasize what to fix rather than how to fix code. We introduce SWE-fficiency, a benchmark for evaluating repository-level performance optimization on real workloads. Our suite contains 498 tasks across nine widely used data-science, machine-learning, and HPC repositories (e.g., numpy, pandas, scipy): given a complete codebase and a slow workload, an agent must investigate code semantics, localize bottlenecks and relevant tests, and produce a patch that matches or exceeds expert speedup while passing the same unit tests. To enable this how-to-fix evaluation, our automated pipeline scrapes GitHub pull requests for performance-improving edits, combining keyword filtering, static analysis, coverage tooling, and execution validation to both confirm expert speedup baselines and identify relevant repository unit tests. Empirical evaluation of state-of-the-art agents reveals significant underperformance. On average, agents achieve less than 0.23x the expert speedup: agents struggle in localizing optimization opportunities, reasoning about execution across functions, and maintaining correctness in proposed edits. We release the benchmark and accompanying data pipeline to facilitate research on automated performance engineering and long-horizon software reasoning.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 17 of its 37 references that are in the map. First posted on arXiv 8 Nov 2025.

Builds on

17 of 37 references.

References · 17

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  6. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
  7. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  8. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
  9. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
  10. 2023Learning Performance-Improving Code Editscited by 103
  11. 2024Evaluating Language Models for Efficient Code Generationcited by 69
  12. 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
5 more
  1. 2024Mercury: A Code Efficiency Benchmark for Code Large Language Modelscited by 34
  2. 2025SWE-Perf: Can Language Models Optimize Code Performance on Real-World Repositories?cited by 33
  3. 2024ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?cited by 25
  4. 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 24
  5. 2025AlgoTune: Can Language Models Speed Up General-Purpose Numerical Programs?cited by 24

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 13.

15 papers.

Sort:

By area: