paper-with-me

홈 › Papers

Identifying Performance-Sensitive Configurations in Software Systems through Code Analysis with LLM Agents

2024-06-18 · Zehao Wang, Dong Jae Kim, Tse-Hsun Chen

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 the previous state-of-the-art method (61.75%). Notably, our prompt chaining technique improves recall by 10% to 30% while maintaining similar precision levels. Additionally, a manual analysis of 362 misclassifications reveals common issues, including LLMs' misunderstandings of requirements (26.8%). In summary, PerfSense significantly reduces manual effort in classifying performance-sensitive configurations and offers valuable insights for future LLM-based code analysis research.

📄 PDF Abstract BibTeX arXiv:2406.12806

Code (0)

등록된 구현이 없습니다.

Tasks

RAGRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Prompting for Performance: Exploring LLMs for Configuring Software

2025-07-13 · Helge Spieker, Théo Matricon, Nassim Belmecheri, Jørn Eirik Betten 외

Software systems usually provide numerous configuration options that can affect performance metrics such as execution time, memory usage, binary size, or bitrate. On the one hand, making informed decisions is challenging…

Faster Discovery of Faster System Configurations with Spectral Learning

2017-01-27 · Vivek Nair, Tim Menzies, Norbert Siegmund, Sven Apel

Despite the huge spread and economical importance of configurable software systems, there is unsatisfactory support in utilizing the full potential of these systems with respect to finding performance-optimal configurati…

Dimensionality Reduction

The Impact of Environment Configurations on the Stability of AI-Enabled Systems

2024-08-05 · Musfiqur Rahman, SayedHassan Khatoonabadi, Ahmad Abdellatif, Haya Samaana 외

Nowadays, software systems tend to include Artificial Intelligence (AI) components. Changes in the operational environment have been known to negatively impact the stability of AI-enabled software systems by causing unin…

CPU

An ML-based Approach to Predicting Software Change Dependencies: Insights from an Empirical Study on OpenStack

2025-08-07 · Ali Arabat, Mohammed Sayagh, Jameleddine Hassine arxiv

As software systems grow in complexity, accurately identifying and managing dependencies among changes becomes increasingly critical. For instance, a change that leverages a function must depend on the change that introd…

SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logs

2025-05-20 · Roozbeh Aghili, Xingfang Wu, Foutse khomh, Heng Li

Software logs are messages recorded during the execution of a software system that provide crucial run-time information about events and activities. Although software logs have a critical role in software maintenance and…