Identify and optimize code hotspots using the Arm Performix MCP server
Introduction
Understand AI-driven profiling with the Arm Performix MCP server
Build the Mandelbrot example on Arm Neoverse
Run Code Hotspots with an AI agent
Optimize code with AI-driven profiling feedback
Next Steps
Identify and optimize code hotspots using the Arm Performix MCP server
Who is this for?
This is an advanced topic for developers who want to use AI-powered tools to automate performance profiling and optimization of C++ applications on Arm Neoverse servers.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Describe how the dedicated Arm Performix MCP server enables AI-driven profiling workflows
- Run the Code Hotspots recipe on a configured remote Arm target through an AI agent
- Use an AI agent to interpret profile evidence and identify the hottest functions in a C++ application
- Apply AI-suggested optimizations to reduce application runtime on Arm Neoverse
Prerequisites
Before starting, you will need the following:
- Completion of the Generate Arm Performix AI insights in Visual Studio Code with Codex Learning Path, or equivalent familiarity with configuring the Arm Performix MCP server in an AI coding assistant
- Access to an Arm-based cloud instance running Linux, such as an AWS Graviton3 instance
- Access to Arm Performix configured with the remote Arm target. See the Arm Performix install guide for setup instructions
- Basic understanding of C++
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
apx executable with the mcp start arguments and verify that your AI coding assistant can list Performix recipes and configured targets.-O3 as part of the optimization pass.apx target test --target <target-name>.