Identifying Performance-Sensitive Configurations in Software Systems through Code Analysis with LLM Agents
Zehao Wang, Dong Jae Kim, Tse-Hsun Chen

TL;DR
PerfSense is a lightweight framework that uses Large Language Models to identify performance-sensitive configurations in software systems, significantly reducing manual effort and outperforming previous methods.
Contribution
This work introduces PerfSense, a novel LLM-based framework employing prompt chaining and RAG techniques to accurately identify performance-sensitive configurations with minimal overhead.
Findings
Achieves 64.77% accuracy in classifying configurations
Outperforms baseline and previous state-of-the-art methods
Prompt chaining improves recall by 10-30%
Abstract
Configuration settings are essential for tailoring software behavior to meet specific performance requirements. However, incorrect configurations are widespread, and identifying those that impact system performance is challenging due to the vast number and complexity of possible settings. In this work, we present PerfSense, a lightweight framework that leverages Large Language Models (LLMs) to efficiently identify performance-sensitive configurations with minimal overhead. PerfSense employs LLM agents to simulate interactions between developers and performance engineers using advanced prompting techniques such as prompt chaining and retrieval-augmented generation (RAG). Our evaluation of seven open-source Java systems demonstrates that PerfSense achieves an average accuracy of 64.77% in classifying performance-sensitive configurations, outperforming both our LLM baseline (50.36%) and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Software Engineering Research · Advanced Software Engineering Methodologies
