mlsanityData to 7 Oct 2026

PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization

arXiv 2607.19653 ↗First posted 22 Jul 2026cs.SE cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Large language model (LLM) agents now perform well on correctness-oriented repository-level tasks, including SWE-Bench issue resolution and feature implementation in real codebases. However, they still struggle with repository-level code optimization, which requires preserving behavior while improving runtime performance. Passing tests is not enough in this setting; a patch must preserve behavior, implement code optimization, and approach expert speedups. Current agents often miss bottlenecks hidden behind abstraction layers and native extensions, stop after shallow speedups, or insufficiently test the code patches that thus may silently break edge cases. We present PerfAgent, a profiler-guided, verifier-in-the-loop workflow that gives an off-the-shelf coding agent the feedback needed to find real hotspots, improve beyond the first passing patch, and use profiler evidence rather than timing alone to decide what to optimize next. On two challenging optimization benchmarks, GSO and SWE-fficiency-Lite, PerfAgent more than doubles the rate of expert-matching patches over OpenHands with GPT-5.1, improving from 19.6% to 39.2% on GSO and from 26% to 74% on SWE-fficiency-Lite. It also surpasses an oracle best-of-five baseline at substantially lower cost, showing that the gains come from better feedback rather than additional test-time sampling.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 40 of its 58 references that are in the map. First posted on arXiv 22 Jul 2026.

Builds on

40 of 58 references.

References · 40

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  7. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  8. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  9. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  10. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  11. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  12. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
28 more
  1. 2023Learning Performance-Improving Code Editscited by 103
  2. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
  3. 2024Evaluating Language Models for Efficient Code Generationcited by 69
  4. 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 68
  5. 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
  6. 2025LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?cited by 52
  7. 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
  8. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
  9. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
  10. 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 41
  11. 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 39
  12. 2024Can Large Language Models Write Parallel Code?cited by 36
  13. 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 35
  14. 2025SWE-Perf: Can Language Models Optimize Code Performance on Real-World Repositories?cited by 33
  15. 2024Search-Based LLMs for Code Optimizationcited by 27
  16. 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 24
  17. 2025AlgoTune: Can Language Models Speed Up General-Purpose Numerical Programs?cited by 24
  18. 2025STARK: Strategic Team of Agents for Refining Kernelscited by 23
  19. 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 21
  20. 2025SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?cited by 15
  21. 2025TritonForge: Profiling-Guided Framework for Automated Triton Kernel Optimizationcited by 15
  22. 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Acceleratorscited by 12
  23. 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimizationcited by 11
  24. 2025PEAK: A Performance Engineering AI-Assistant for GPU Kernels Powered by Natural Language Transformationscited by 5
  25. 2025PEACE: Towards Efficient Project-Level Efficiency Optimization via Hybrid Code Editingcited by 4
  26. 2025Optimizing PyTorch Inference with LLM-Based Multi-Agent Systemscited by 4
  27. 2025ProfilingAgent: Profiling-Guided Agentic Reasoning for Adaptive Model Optimizationcited by 3
  28. 2026Resolving Java Code Repository Issues with iSWE Agentcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring
  2. 2026FastContext: Training Efficient Repository Explorer for Coding Agents
  3. 2026PERFOPT-Bench: Evaluating Coding Agents on Software Performance Optimization
  4. 2026RepoAtlas: Guiding Coding Agents via Evolving Multimodal Repository Views
  5. 2026REFINE: A Multi-Agent LLM Approach for Evidence-Guided Code Refactoring
  6. 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
  7. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  8. 2026A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents