Prompting for Performance: Exploring LLMs for Configuring Software

Helge Spieker, Théo Matricon, Nassim Belmecheri, Jørn Eirik Betten, Gauthier Le Bartz Lyan +5 more
7/13/2025
cs.SEcs.AIcs.PF

No confident code implementation found for this paper.

Abstract

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 and requires domain expertise in options and their combinations. On the other hand, machine learning techniques can search vast configuration spaces, but with a high computational cost, since concrete executions of numerous configurations are required. In this exploratory study, we investigate whether large language models (LLMs) can assist in performance-oriented software configuration through prompts. We evaluate several LLMs on tasks including identifying relevant options, ranking configurations, and recommending performant configurations across various configurable systems, such as compilers, video encoders, and SAT solvers. Our preliminary results reveal both positive abilities and notable limitations: depending on the task and systems, LLMs can well align with expert knowledge, whereas hallucinations or superficial reasoning can emerge in other cases. These findings represent a first step toward systematic evaluations and the design of LLM-based solutions to assist with software configuration.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{spieker2025prompting,
  title  = {Prompting for Performance: Exploring LLMs for Configuring Software},
  author = {Helge Spieker and Théo Matricon and Nassim Belmecheri and Jørn Eirik Betten and Gauthier Le Bartz Lyan and Heraldo Borges and Quentin Mazouni and Dennis Gross and Arnaud Gotlieb and Mathieu Acher},
  year   = {2025},
  eprint = {2507.09790},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.09790v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.09790.svg)](https://codeofpaper.com/paper/2507.09790)

Discussion