Skip to content
Book Open access

Agent-Agnostic End-to-End C/C++ Application Performance Optimization

Jul 2026 · ICS Workshops · pp. 65-69 · 0 citations · 2 references
Computer Science

TL;DR

A code agent-agnostic agentic scaffold for automated code performance optimization that enables the system to autonomously execute the entire pipeline: project-level runtime analysis, hotspot identification and benchmark extraction, Abstract Syntax Tree (AST)-precise code localization, candidate patch generation, functional verification, performance measurement, and version rollback.

Abstract

The rise of large language model code agents—Claude Code, Gemini CLI, Codex CLI—has enabled developers to drive models through multi-step programming operations in real codebases via code agent interfaces. Existing work, however, has primarily applied these tools to functional tasks such as bug fixing and feature implementation, leaving performance engineering—a discipline that demands runtime evidence, domain expertise, and rigorous validation—largely unexplored. Moreover, most AI-assisted performance optimization approaches are tightly coupled to a specific model or interface, making them brittle in the face of rapid code agent evolution. We propose a code agent-agnostic agentic scaffold for automated code performance optimization. The scaffold connects to mainstream model code agents through the Model Context Protocol (MCP) and is equipped with a procedural memory module (agent skill) that encodes the complete optimization control loop. This enables the system to autonomously execute the entire pipeline: project-level runtime analysis, hotspot identification and benchmark extraction, Abstract Syntax Tree (AST)-precise code localization, candidate patch generation, functional verification, performance measurement, and version rollback. When straightforward optimization strategies fail, the system escalates by invoking the Retrieval-Augmented Generation (RAG) tool in the MCP layer to retrieve structurally similar human optimization cases as reference patches. We evaluate the system on the 10 CBench benchmark suite [7, 9], and experimental results show our methods can achieve 1.5 × speedup with \(100\%\) success rate. Furthermore, our methods can significantly reduce the token consumption comparing with baseline methods.

Read PDF

Similar papers

Jul 2026

Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problems

Opti-Agent-Bench is introduced, an end-to-end benchmark that evaluates Large Language Models across the complete optimization R&D pipeline, from understanding business-language descriptions through mathematical modeling, algorithm selection, and code implementation, to solution report generation.

Yongchang Fu, Xin Huang, Chengjun Dai et al. · 0 citations
Review 2026

Multi-agent Architecture for Legacy Custom Code Migration

The migration process is formalized as a Markov decision process, and a specialized multi-agent architecture is proposed, in which equivalence preservation is enforced through a RAG-informed Planner Agent, a fine-tuned Developer Agent and a Reviewer Agent that uses the Integral ABAP Quality Score (IAQS) as a formalized...

Oleg Pozdnyakov, A. Parkhomenko · 0 citations
Book Open access Aug 2026

Kozuchi Agent: A Language-Agnostic Open-Weight Agent for Software Repair

Kozuchi Agent, a language-agnostic open-weight repair agent and CI-operated evaluation pipeline, is presented, showing that the remaining gap is primarily semantic correctness and selection rather than edit formatting or proprietary-model access.

M. Bahrami, Kosaku Kimura, Satoshi Munakata et al. · 0 citations
Preprint Aug 2026

AgentExecutor: Partial Code Execution via Agentic Context Generation

This paper proposes AgentExecutor, a novel multi-agent framework for partial code execution that is Supported by the power of LLM agents who can think, act, and get feedback iteratively, and is able to autonomously explore a richer action space, enabling diverse operations such as creating resource files and resolving...

Junkai Chen, Cheng-Ran Yang, Xing Hu et al. · 0 citations
Jul 2026

BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services

BackendForge is introduced, a benchmark of 56 contract-defined backend generation tasks rewritten from real open-source applications that suggests that current LLMs can implement many local API behaviors, but still struggle to produce complete backend services.

Yuzhe Guo, Mengzhou Wu, Yuan Cao et al. · 0 citations
Open access 2026

Native Probes on Demand: Agent-Generated Reference Implementations for Layer-Bisection Debugging in Cross-Platform Apps

It is argued that agent-generated native reference implementations—small vertical prototypes built directly against the platform’s native APIs with the help of coding agents—make differential, layer-bisection debugging an economically viable default tactic in cross-platform development.

Robin Nunkesser · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.