Not All Correct Fixes Run Alike: An Empirical Study of Patch Performance in Repository-Level Issue Resolution
Not on the map. Why?
Abstract (arXiv)
Repository-level issue-resolution benchmarks such as SWE-bench evaluate submitted patches primarily based on whether they pass the correctness tests, leaving the runtime performance of different test-passing patches largely unexplored. Evaluating patch performance is essential but challenging since designing performance workloads for each benchmark instance is costly. However, these benchmarks already provide a natural candidate: the built-in FAILTOPASS (F2P) tests, which exercise the behavior affected by the issue fix. We therefore investigate whether the provided F2P tests can be repurposed to evaluate patch performance. Overall, we choose four frontier models, Claude Opus~5, GPT~5.6, DeepSeek V4 Pro, and Qwen~3.8 Max, paired with SWE-agent to resolve the pre-filtered measurable corpus from verified splits of SWE-bench and SWE-bench-Live, yielding 262 cases with at least two different correct solutions, including the developer ground-truth patch. We then measure each solution's runtime performance in instruction count and wall-clock time on the native F2P test, and use Welch ANOVA instead of the RSD proposed in prior work as a more robust statistical discrimination criterion. We find that this methodology exhibits notable discrimination capability in runtime performance and identifies performance differences among patches in almost half of the instances. Our empirical study shows that the runtime performance of generated patches is independent of the issue resolution rate of LLMs, with nearly reversed model rankings. The case study also shows that the performance analysis reveals architectural regression in some patches that the correctness evaluation overlooked. These findings suggest that resolution rate does not adequately characterize LLMs' capability for repository-level issue resolution, motivating future evaluations to consider patch performance alongside it.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 45 references that are in the map. First posted on arXiv 9 Oct 2026.
Builds on
30 of 45 references.
References · 30
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2024Evaluating Language Models for Efficient Code Generationcited by 73
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 64
- 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 43
- 2025SWE-Perf: Can Language Models Optimize Code Performance on Real-World Repositories?cited by 36
- 2024CodeDPO: Aligning Code Models with Self Generated and Verified Source Codecited by 34
- 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 30
18 more
- 2024ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?cited by 27
- 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Codecited by 27
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctnesscited by 26
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 25
- 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedbackcited by 24
- 2024On Evaluating the Efficiency of Source Code Generated by LLMscited by 21
- 2025SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?cited by 21
- 2025COFFE: A Code Efficiency Benchmark for Code Generationcited by 20
- 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimizationcited by 18
- 2024EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuningcited by 17
- 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 16
- 2020Reinforcement Learning for Test Case Prioritizationcited by 13
- 2025A Taxonomy of Inefficiencies in LLM-Generated Python Codecited by 10
- 2025Towards Better Correctness and Efficiency in Code Generationcited by 9
- 2026FormulaCode: Evaluating Agentic Optimization on Large Codebasescited by 6
- 2023Measuring the Runtime Performance of C++ Code Written by Humans using GitHub Copilotcited by 5
- 2025PEACE: Towards Efficient Project-Level Efficiency Optimization via Hybrid Code Editingcited by 5
- 2025Analyzing Prominent LLMs: An Empirical Study of Performance and Complexity in Solving LeetCode Problemscited by 4
Built on by
Not cited yet.