# Performance tuning

> Performance tuning is an open-source agent skill for developer tools. Guides measurement-first diagnosis and tuning of slow SAP transactions and ABAP code. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/vigneshbarani24/sap-superpowers/tree/main/skills/development/performance-tuning
- **Repository:** https://github.com/vigneshbarani24/sap-superpowers
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** performance-tuning
- **Collection:** https://github.com/vigneshbarani24/sap-superpowers
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill walks an agent through diagnosing SAP performance problems in a measurement-first order: record a baseline over several runs, collect runtime and SQL trace data, then pinpoint a single bottleneck before touching any code. It covers the standard SAP tools for this work, including SAT for ABAP runtime analysis, ST05 for SQL traces, ST02 for buffer statistics, the system performance monitor and SM50/SM66 for process checks.

The skill sorts bottlenecks into categories such as SQL, ABAP logic, memory and locking, and matches each category to a specific fix, for example replacing selects inside loops, choosing a better internal table type, or processing large result sets in packages. It insists on changing one thing at a time, re-measuring after each change, and validating at production-like data volume, with a report template that captures before and after metrics.

It expects an SAP system with access to these transactions and a representative data set. The skill ends by handing off to code review and then to the standard transport path.

## When your agent uses it

> Use when diagnosing or resolving SAP performance problems — slow transactions, long-running batch jobs, expensive SQL, HANA resource issues, or general ABAP runtime bottlenecks.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/vigneshbarani24/sap-superpowers/tree/HEAD/skills/development/performance-tuning)
- [License: MIT](https://github.com/vigneshbarani24/sap-superpowers/tree/HEAD/skills/development/performance-tuning)

## Features

- **Baseline measurement first:** Records repeated run times and median values before any change is made.
- **ABAP runtime analysis:** Uses SAT traces to rank the top time consumers by gross and net time.
- **SQL trace review:** Checks ST05 output for full table scans, repeated statements and fetch volume.
- **Bottleneck categorisation:** Sorts problems into SQL, ABAP logic, memory, locking or system resource causes.
- **Targeted optimisation techniques:** Matches each bottleneck type to a specific fix such as FOR ALL ENTRIES or package-size reads.
- **Production volume validation:** Requires testing at realistic data volumes or documenting the extrapolation risk.
- **Performance report template:** Provides a structured report covering baseline, changes, post-change metrics and transport.

## Good for

- Find out why a month-end batch job takes hours to finish
- Diagnose a slow SAP transaction using runtime and SQL traces
- Remove a SELECT inside a loop that hits the database thousands of times
- Choose the right internal table type for a lookup-heavy ABAP report
- Write a performance report with before and after measurements for a transport

## Install

### Claude Code

This skill ships in the `sap-superpowers` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add vigneshbarani24/sap-superpowers
/plugin install sap-superpowers@sap-superpowers
```

Or copy only this skill to `~/.claude/skills/performance-tuning`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.claude/skills/performance-tuning &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/performance-tuning` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/performance-tuning` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.agents/skills/performance-tuning &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/performance-tuning` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/performance-tuning` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.cursor/skills/performance-tuning &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/performance-tuning` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/vigneshbarani24/sap-superpowers.git --path skills/development/performance-tuning
```

Or copy the folder to `~/.gemini/skills/performance-tuning` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/performance-tuning`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.copilot/skills/performance-tuning &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/performance-tuning` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git
```

Then copy `sap-superpowers/skills/development/performance-tuning` into your agent's skills folder as `performance-tuning`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Performance tuning trigger?

It is meant for diagnosing or resolving SAP performance problems such as slow transactions, long-running batch jobs, expensive SQL, HANA resource issues or general ABAP runtime bottlenecks.

### Which SAP tools does Performance tuning rely on?

It references SAT, ST05, ST02, the system performance monitor /SDF/MON, and SM50 and SM66 for process checks.

### Does Performance tuning change code automatically?

No. It instructs the agent to measure first, identify a specific bottleneck and then apply one change at a time, with the changes documented in a report.

### What happens after the optimisation work?

The skill hands off to the code-review skill, then to the standard DEV, QAS and PRD transport path.

### How do I install Performance tuning in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/performance-tuning to use it in all your projects, or to .claude/skills/performance-tuning in one project. Or install the sap-superpowers plugin, which includes it: /plugin marketplace add vigneshbarani24/sap-superpowers, then /plugin install sap-superpowers@sap-superpowers.

### Does Performance tuning run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Performance tuning?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Performance tuning?

The closest alternatives to Performance tuning are Performance audit edho ferdian, Optimize, Performance reasoning, Testing strategy and Clean core processes.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Performance audit edho ferdian](https://ai-powered.com/skills/performance-audit-edho-ferdian): Performance audit edho ferdian is an open-source agent skill for developer tools.
- [Optimize](https://ai-powered.com/skills/optimize-jasgujral): Optimize is an open-source agent skill for developer tools.
- [Performance reasoning](https://ai-powered.com/skills/performance-reasoning): Performance reasoning is an open-source agent skill for developer tools.
- [Testing strategy](https://ai-powered.com/skills/testing-strategy-vigneshbarani24): Testing strategy is an open-source agent skill for developer tools.
- [Clean core processes](https://ai-powered.com/skills/clean-core-processes): Clean core processes is an open-source agent skill for developer tools.
- [Performance optimization](https://ai-powered.com/skills/performance-optimization): Performance optimization is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-vigneshbarani24): Code review is an open-source agent skill for developer tools.
- [Performance](https://ai-powered.com/skills/performance): Performance is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/performance-tuning
