Identifying Performance-Sensitive Configurations in Software Systems with LLM-Driven Agents

Configuration settings are essential for tailoring software behavior to meet specific performance requirements. However, incorrect configurations are common, and identifying those that impact system performance is challenging due to the vast number and complexity of possible settings. In this work, we present PerfAware, a lightweight framework that leverages Large Language Models (LLMs) to efficiently identify performance-sensitive configurations with minimal overhead. PerfAware 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 demon-strates that PerfAware achieves an average accuracy of 70.55% in classifying performance-sensitive configurations, outperforming both our LLM baseline (58.47%) and the previous state-of-the-art method (60.87%). Notably, our prompt chaining technique improves precision significantly while maintaining similar recall levels. In summary, PerfAware significantly reduces manual effort in classifying performance-sensitive configurations and offers valuable insights for future LLM-based code analysis research.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/icse-companion66252.2025.00069
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Identifying Performance-Sensitive Configurations in Software Systems with LLM-Driven Agents

Zehao Wang
Software System Performance and Reliability
article

Identifying Performance-Sensitive Configurations in Software Systems with LLM-Driven Agents

Zehao Wang
article en

Abstract

Configuration settings are essential for tailoring software behavior to meet specific performance requirements. However, incorrect configurations are common, and identifying those that impact system performance is challenging due to the vast number and complexity of possible settings. In this work, we present PerfAware, a lightweight framework that leverages Large Language Models (LLMs) to efficiently identify performance-sensitive configurations with minimal overhead. PerfAware 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 demon-strates that PerfAware achieves an average accuracy of 70.55% in classifying performance-sensitive configurations, outperforming both our LLM baseline (58.47%) and the previous state-of-the-art method (60.87%). Notably, our prompt chaining technique improves precision significantly while maintaining similar recall levels. In summary, PerfAware significantly reduces manual effort in classifying performance-sensitive configurations and offers valuable insights for future LLM-based code analysis research.

Concordia University (CA)
Openalex Percentile: Top 86%
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.