How Do Agentic AI Systems Address Performance Optimizations? A BERTopic-Based Analysis of Pull Requests
By: Md Nahidul Islam Opu , Shahidul Islam , Muhammad Asaduzzaman and more
LLM-based software engineering is influencing modern software development. In addition to correctness, prior studies have also examined the performance of software artifacts generated by AI agents. However, it is unclear how exactly the agentic AI systems address performance concerns in practice. In this paper, we present an empirical study of performance-related pull requests generated by AI agents. Using LLM-assisted detection and BERTopic-based topic modeling, we identified 52 performance-related topics grouped into 10 higher-level categories. Our results show that AI agents apply performance optimizations across diverse layers of the software stack and that the type of optimization significantly affects pull request acceptance rates and review times. We also found that performance optimization by AI agents primarily occurs during the development phase, with less focus on the maintenance phase. Our findings provide empirical evidence that can support the evaluation and improvement of agentic AI systems with respect to their performance optimization behaviors and review outcomes.
Similar Papers
How Do Agents Perform Code Optimization? An Empirical Study
Software Engineering
AI helps make computer programs run faster.
On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub
Software Engineering
AI helps programmers fix code, saving them time.
A Study of Library Usage in Agent-Authored Pull Requests
Software Engineering
AI coding helpers use many tools wisely.