Skip to content

Commit 2c0a6fe

Browse files
fix - updated links to use new name for prompt file
1 parent 4c56fba commit 2c0a6fe

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

  • content/learning-paths/servers-and-cloud-computing/performix-mcp-agent

content/learning-paths/servers-and-cloud-computing/performix-mcp-agent/3-run-hotspot.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ layout: learningpathall
1010

1111
In this section, you'll use a GitHub Copilot prompt file to drive the Code Hotspots recipe through the Arm MCP Server. The agent confirms your target details, runs the recipe autonomously, and returns structured profiling results.
1212

13-
## Use the Arm MCP performance-beginner prompt file
13+
## Use the Arm MCP arm-hotspots-optimization prompt file
1414

1515
{{% notice Note %}}
1616
The section uses Visual Studio Code with GitHub Copilot. If you prefer a different AI assistant, see [Configure other AI agents](#configure-other-ai-agents) at the end of this section for equivalent configurations for Kiro and OpenAI Codex.
1717
{{% /notice %}}
1818

19-
The Arm MCP Server repository includes a ready-made prompt file called `performance-beginner` that guides an AI agent through the full Code Hotspots workflow: baseline profiling, hotspot identification, targeted code changes, and re-profiling to confirm the improvement. You don't need to write this file yourself, you copy it from the repository.
19+
The Arm MCP Server repository includes a ready-made prompt file called `arm-hotspots-optimization` that guides an AI agent through the full Code Hotspots workflow: baseline profiling, hotspot identification, targeted code changes, and re-profiling to confirm the improvement. You don't need to write this file yourself, you copy it from the repository.
2020

2121
Open the Mandelbrot-Example repository in Visual Studio Code on your local machine. Create the directory `.github/prompts/` if it doesn't already exist:
2222

@@ -27,18 +27,18 @@ mkdir -p .github/prompts
2727
Download the prompt file from the Arm MCP repository and place it in that directory:
2828

2929
```bash
30-
curl -o .github/prompts/performance-beginner.prompt.md \
31-
https://raw.githubusercontent.com/arm/mcp/main/agent-integrations/vs-code/performance-beginner.prompt.md
30+
curl -o .github/prompts/arm-hotspots-optimization.prompt.md \
31+
https://raw.githubusercontent.com/arm/mcp/main/agent-integrations/vs-code/arm-hotspots-optimization.prompt.md
3232
```
3333

34-
You can also view the full prompt at [github.com/arm/mcp](https://github.com/arm/mcp/blob/main/agent-integrations/vs-code/performance-beginner.prompt.md). It instructs the agent to confirm the workload command and target details with you before running, follow the loop of baseline profile → one focused code change → re-profile → compare delta, and report results in concrete numbers at each step.
34+
You can also view the full prompt at [github.com/arm/mcp](https://github.com/arm/mcp/blob/main/agent-integrations/vs-code/arm-hotspots-optimization.prompt.md). It instructs the agent to confirm the workload command and target details with you before running, follow the loop of baseline profile → one focused code change → re-profile → compare delta, and report results in concrete numbers at each step.
3535

3636
## Invoke the prompt file
3737

3838
With GitHub Copilot connected to the Arm MCP Server, open Copilot Chat in Agent Mode and invoke the prompt with the slash command:
3939

4040
```text
41-
/performance-beginner
41+
/arm-hotspots-optimization
4242
```
4343

4444
Copilot reads the prompt file and walks you through a series of confirmation questions before running anything. Answer each question in turn:
@@ -119,7 +119,7 @@ The agent has surfaced the same hotspots that a manual Performix session would i
119119

120120
## What you've accomplished and what's next
121121

122-
You've used the Arm MCP `performance-beginner` prompt file — invoked with `/performance-beginner` — to drive the Arm Performix Code Hotspots recipe end-to-end through the Arm MCP Server. The agent confirmed your target details, ran the recipe autonomously, and identified `getIterations` as the dominant hotspot. It found that ~33% of total CPU time is spent inside the sqrt-based escape condition check (`__complex_abs` and `hypotf64`), and noted significant `std::complex` operator overhead from the debug build. It proposed three targeted optimizations: eliminating the sqrt, replacing `std::complex` with raw double arithmetic, and enabling compiler optimizations.
122+
You've used the Arm MCP `arm-hotspots-optimization` prompt file — invoked with `/arm-hotspots-optimization` — to drive the Arm Performix Code Hotspots recipe end-to-end through the Arm MCP Server. The agent confirmed your target details, ran the recipe autonomously, and identified `getIterations` as the dominant hotspot. It found that ~33% of total CPU time is spent inside the sqrt-based escape condition check (`__complex_abs` and `hypotf64`), and noted significant `std::complex` operator overhead from the debug build. It proposed three targeted optimizations: eliminating the sqrt, replacing `std::complex` with raw double arithmetic, and enabling compiler optimizations.
123123

124124
In the next section, you'll apply those optimizations one at a time, rebuilding and re-profiling after each change to confirm the improvement with real data.
125125

@@ -135,24 +135,24 @@ The Arm MCP repository includes a ready-made Kiro steering document for this wor
135135

136136
```bash
137137
mkdir -p .kiro/steering
138-
curl -o .kiro/steering/performance-beginner.md \
139-
https://raw.githubusercontent.com/arm/mcp/main/agent-integrations/kiro/performance-beginner.md
138+
curl -o .kiro/steering/arm-hotspots-optimization.md \
139+
https://raw.githubusercontent.com/arm/mcp/main/agent-integrations/kiro/arm-hotspots-optimization.md
140140
```
141141

142-
You can view the full steering document at [github.com/arm/mcp](https://github.com/arm/mcp/blob/main/agent-integrations/kiro/performance-beginner.md). It uses `inclusion: always`, so Kiro loads it automatically for every session in the workspace. Reference it explicitly in chat by typing `#performance-beginner`.
142+
You can view the full steering document at [github.com/arm/mcp](https://github.com/arm/mcp/blob/main/agent-integrations/kiro/arm-hotspots-optimization.md). It uses `inclusion: always`, so Kiro loads it automatically for every session in the workspace. Reference it explicitly in chat by typing `#arm-hotspots-optimization`.
143143

144144
### OpenAI Codex prompt file
145145

146146
The Arm MCP repository also includes a ready-made Codex prompt file. Create the prompts directory if it doesn't already exist, then download the file:
147147

148148
```bash
149149
mkdir -p ~/.codex/prompts
150-
curl -o ~/.codex/prompts/performance-beginner.md \
151-
https://raw.githubusercontent.com/arm/mcp/main/agent-integrations/codex/performance-beginner.md
150+
curl -o ~/.codex/prompts/arm-hotspots-optimization \
151+
https://raw.githubusercontent.com/arm/mcp/main/agent-integrations/codex/arm-hotspots-optimization.md
152152
```
153153

154-
You can view the full prompt at [github.com/arm/mcp](https://github.com/arm/mcp/blob/main/agent-integrations/codex/performance-beginner.md). Invoke it with:
154+
You can view the full prompt at [github.com/arm/mcp](https://github.com/arm/mcp/blob/main/agent-integrations/codex/arm-hotspots-optimization.md). Invoke it with:
155155

156156
```bash
157-
codex /prompts:performance-beginner
157+
codex /prompts:arm-hotspots-optimization
158158
```

0 commit comments

Comments
 (0)