Skip to main content
Glama

metal-gpu-trace

test

In short

metal-gpu-trace measures how hard a program works the graphics chip (the GPU) of a Mac with Apple silicon or of a Windows PC (PresentMon), and whether its pictures come out evenly. It is for people who port or test games and apps on a Mac (Windows games under Wine included), and for the AI coding agents that help them.

Real example: a 20-second recording of the drawstress test program ran at 104.5 FPS, and the GPU needed 5.6 ms to draw each picture (see A first result).

Ask your agent to record again after a change, and it says with numbers whether the program got faster, slower or stayed the same. It needs Xcode to record on macOS (on Windows, PresentMon records instead), and it does not fix the program.

Related MCP server: XcodeTraceMCP

How it works

Your AI agent calls the metal-gpu-trace server. The server starts Instruments (Apple's profiler, installed with Xcode), which records the program for the seconds you asked. It writes a summary (a JSON file with the numbers) and two small tables, one row per frame and one for memory. The agent reads them back and compares them with other recordings or with a saved reference.

Flow: the AI agent calls the MCP server, Instruments records the program, a JSON summary and CSV tables are written, and the agent reads them back

Details for people who change the code: How it works.

Start in 4 steps

  1. Install Xcode from the App Store. Open the Terminal app and type xcrun xctrace version: it should print a version.

  2. Install uv, a tool that downloads and runs the server for you. In the Terminal: brew install uv (needs Homebrew, see brew.sh).

  3. Connect the server to your agent. An MCP server is a small helper program that gives your AI agent new tools. Run uvx metal-gpu-trace init to set up every AI app it finds at once, or, for Claude Code, paste this in the Terminal (METAL_TRACE_OUT is the folder where recordings are saved): claude mcp add --scope user metal-trace -e METAL_TRACE_OUT=$HOME/perf-runs -- uvx metal-gpu-trace. For other AI apps see MCP server.

  4. Ask: "Record my app for 30 seconds, then tell me its FPS and how long the GPU takes per frame." For a Windows program under Wine (software that runs Windows programs on a Mac), also add -e METAL_TRACE_WINE=/path/to/wine to the command of step 3 (see Install).

Words used here

  • frame: one picture the program draws. A game at 60 FPS draws 60 of them each second.

  • FPS: frames per second. Higher is smoother, until the screen's refresh rate caps it (vsync).

  • GPU ms per frame: the milliseconds the graphics chip works on one frame. Lower is better, and unlike FPS the screen does not cap it.

  • 1 % low: the FPS of the slowest 1 % of frames. It shows the stutter an average hides, and needs at least 100 frames.

  • hitch: a frame that takes far longer than its neighbours; you see it as a stutter.

  • frame pacing: how evenly frames arrive. Even gaps look smooth, uneven gaps look like stutter.

  • encoder: a block of GPU commands the program sends. Too many tiny ones waste GPU time.

  • command buffer: the package of work a program hands the GPU; it holds one or more encoders.

  • translation layer: software that lets a program written for another graphics API (Direct3D, Vulkan) run on Metal, such as DXMT, Mullion or MoltenVK.

  • Wine: software that runs Windows programs on a Mac.

  • Metal System Trace: the Instruments recording template that logs what the GPU does; this tool records with it.

  • .trace: the file Instruments writes. It is large (tens to hundreds of MB), so it is deleted after the summary unless you set KEEP_TRACE=1. The tables the summary read stay in <run>.tables.sqlite, which trace_query can filter without the .trace (PERF_TABLES=0 skips it).

  • .gputrace: a Metal capture of the draw commands of a few frames; this tool reads it without Xcode.

  • baseline: a saved reference made of several equal recordings. It shows how much a number moves by itself, so a later run can be judged against it.

  • regression: a change that makes the program worse than its baseline, for example FPS falling under the baseline's range by more than the margin.

A first result

A trimmed summary of a real 20-second recording of the drawstress test program in native Metal (the file holds many more fields):

{
  "process": {"name": "drawstress", "arguments": "--mtl"},
  "duration_s": 20.78,
  "gpu": {
    "frames": 2034,
    "fps_estimate": 104.5,
    "frame_gpu_ms": {"mean": 5.564, "p95": 6.16},
    "frame_interval_ms": {"p95": 10.017, "max": 22.189}
  },
  "encoders": {"per_frame": {"p50": 2}},
  "gpu_idle": {"idle_share": 0.422}
}

Read it like this: 2 034 frames in 20.8 s. fps_estimate is 104.5: it comes from the median gap between frames, so it can differ from frames divided by seconds (about 98). The GPU needed 5.6 ms per frame on average, and under 6.2 ms for 95 % of them (p95). The longest wait between two frames was 22.2 ms. The program sent 2 encoders per frame (the median, p50), and the GPU sat idle 42 % of the time. One recording says little by itself: compare two, and repeat a run before calling a difference real.

What's new

Version 0.28.0. Older versions: changelog.

  • ✨ Shorter answers. Every tool takes fields to keep only the paths you ask for. Proof

  • ✨ One setup command. metal-gpu-trace init adds the server to Claude Code, Claude Desktop, Cursor and Codex CLI. Proof

  • ✨ Tables outlive the .trace. They are kept in <run>.tables.sqlite, and trace_query filters them. Proof

For developers

Measures how a Wine or macOS program uses the GPU on an Apple silicon Mac, and how a native Windows program does with PresentMon, from the command line or through an AI coding agent: GPU time per frame, frame pacing, FPS and memory; whether a translation layer splits the work into too many short encoders; .gputrace captures read without Xcode; and Apple's published facts per GPU family. Python 3.9+ standard library; on macOS zsh and Xcode (for xctrace); on Windows PresentMon. MIT license (LICENSE).

Architecture, decisions and guides: docs/README.md. Sending a change: CONTRIBUTING.md.

File

What it does

src/metal_gpu_trace/perf_record.sh

Records a program for N seconds and writes <label>_<date>.json plus per-frame and memory CSVs. Deletes the .trace unless KEEP_TRACE=1.

src/metal_gpu_trace/perf_report.py

Summarizes an existing .trace the same way.

src/metal_gpu_trace/gputrace_read.py

Reads a Metal .gputrace without Xcode. Call names marked probable are not confirmed.

src/metal_gpu_trace/data/apple-gpu-families.json

Apple7 to Apple10: chips, what each family adds, limits that differ, with Apple's sources.

src/metal_gpu_trace/metal_trace_mcp.py

The MCP server over all of the above.

tests/

Self-check without Instruments: python3 -I tests/run.py prints ok; pytest tests runs the same tests.

Recording

PERF_OUT=~/perf-runs zsh src/metal_gpu_trace/perf_record.sh game-d3d12 30 /path/to/wine ~/.wine /path/to/game game.exe
PERF_OUT=~/perf-runs zsh src/metal_gpu_trace/perf_record.sh app-metal 30 native - /path/to/app ./app

Arguments: label, seconds, a Wine directory holding bin/wine (or native), the Wine prefix, the working directory, the program and its arguments. Without PERF_OUT, runs go to ./perf-runs. Reading the trace takes about a minute on an M1 Pro (87 s for a 10 s recording). Through the MCP server the call times out after 15 s per recorded second plus 180 (55 with GPU counters), and an overrun recording leaves no files behind. One recording runs at a time; keep other GPU work off the Mac while it records. Under Wine, record for 30 s: Wine's start-up takes part of the recording. Under 100 frames is too short to compare.

Disk use

Each recording keeps a JSON summary and three CSVs, about 2 MB for 10 s (most of it the Metal memory samples). The .trace is deleted unless KEEP_TRACE=1. PERF_MEMORY=0 skips the Metal memory table, the slowest to read (41 % faster to summarize a 626 MB trace); the summary then has no metal_memory_mib. The MCP tools perf_record and perf_baseline_record offer the same as memory=false. What each setting deletes: Retention.

MCP server

Install

The server runs with uvx from PyPI, with nothing to clone (brew install uv installs it). Recording also needs Xcode: xcrun --find xctrace must find xctrace, which the Command Line Tools alone do not include (install Xcode from the App Store and point xcode-select at it).

uvx metal-gpu-trace

This is the command each client below runs. Desktop apps do not see Homebrew's PATH: give them the full path that which uvx prints (/opt/homebrew/bin/uvx on Apple silicon). uvx keeps the version it first downloaded; run the command once with --refresh to get the latest. uvx metal-gpu-trace@0.4.0 pins a version.

Environment variables and project files: Configuration.

One command: init

uvx metal-gpu-trace init finds the AI apps installed on this Mac or PC (Claude Code, Claude Desktop, Cursor, Codex CLI) and adds the server to each, with the absolute path of uvx and METAL_TRACE_OUT set to ~/perf-runs, resolved.

uvx metal-gpu-trace init --dry-run                       # show what it would write, write nothing
uvx metal-gpu-trace init --client cursor --wine /path/to/wine

Options: --client claude-code|claude-desktop|cursor|codex|vscode, --wine DIR (a Wine directory holding bin/wine; METAL_TRACE_WINE is used when set), --out DIR, --dry-run, --project. An existing JSON config is merged (your other servers stay) and copied to <file>.bak first; a file that is not valid JSON is refused untouched. For Codex the block is appended to config.toml when missing, and only shown when [mcp_servers.metal-trace] is already there. Claude Code is registered with claude mcp add, not by editing its file. VS Code needs --project (it writes .vscode/mcp.json); --project files hold absolute paths of your machine, so keep them out of git. init is supported on macOS and Windows; on other systems it says "not supported yet". Restart the app afterwards.

Claude Code

claude mcp add --scope user metal-trace -e METAL_TRACE_OUT=$HOME/perf-runs -e METAL_TRACE_WINE=/path/to/wine \
  -- uvx metal-gpu-trace
claude mcp list

claude mcp list shows metal-trace as connected. --scope user makes it available in every project; leave it out to add it to the current project only.

Windows

On Windows the server records native programs (src/metal_gpu_trace/perf_record_windows.py): no Wine, no Metal, and METAL_TRACE_WINE is not needed. Frames come from Intel's PresentMon (MIT), installed with presentmon_install, found on PATH, or pointed to with PRESENTMON_EXE. Without it the summary falls back to DWM composition intervals (gpu.source is dwm-composition), which cover the whole desktop and carry no GPU time. With neither source a recording fails; it never invents frames. Details: Windows engine.

winget install --id=astral-sh.uv -e
uvx metal-gpu-trace init
claude mcp list

init writes the server into Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json), Cursor (%USERPROFILE%\.cursor\mcp.json) and Codex (%USERPROFILE%\.codex\config.toml), and finds uvx.exe on PATH or in %USERPROFILE%\.local\bin; without uv it names the winget command. In JSON clients use "command": "uvx" (or the full path where uvx prints) and Windows paths with doubled backslashes. Run the Windows tests with python -m pytest tests/test_perf_record_windows.py.

Claude Desktop, Cursor and other JSON clients

These apps do not expand ~ or $HOME: write absolute paths.

{
  "mcpServers": {
    "metal-trace": {
      "command": "/opt/homebrew/bin/uvx",
      "args": ["metal-gpu-trace"],
      "env": {
        "METAL_TRACE_OUT": "/absolute/path/to/perf-runs",
        "METAL_TRACE_WINE": "/absolute/path/to/wine"
      }
    }
  }
}

Client

File

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (Settings, Developer, Edit Config); restart the app

Cursor

~/.cursor/mcp.json

VS Code

.vscode/mcp.json in the project; the top key is servers, and the server adds "type": "stdio"

Codex CLI

~/.codex/config.toml: a [mcp_servers.metal-trace] table with the same command, args and env

Tools

26 tools in four groups. Your agent picks them; you rarely call one yourself. Every tool also takes an optional fields, a list of dotted paths such as common.frame_pacing.fps_1pct_low: the result keeps only those (on a page, in each row), so the agent reads a few numbers instead of a whole summary. A path that matches nothing is listed in _meta.fields_missing. Each tool's arguments are in Server and transport.

Group

Tools (what each is for)

Record

perf_record (one run and its summary), perf_attach (a program already running), perf_baseline_record (several runs saved as a reference), perf_ab (two environments, which is better), perf_sweep (one run per value of a setting), perf_cold_warm (first start-up against the second, shader-compile hitches)

Judge and compare

perf_compare (two recordings, what got faster or slower), perf_check (same, better or regressed against a reference), perf_gate (pass or fail against your limits), perf_baseline (saves equal runs and shows their spread), perf_history (one number across many runs), perf_diagnose (too many tiny GPU pieces, as translation layers cause), perf_memory_breakdown (Metal allocations by type)

Dig deeper

perf_export_trace (frames for Perfetto or Chrome), trace_tables, trace_count, trace_query (tables of a kept .trace), capture_summary, capture_diff, capture_records (.gputrace captures)

Setup and test programs

project_info (active project), perf_runs (recordings, newest first), gpu_family (Apple's facts per chip), workload_list, workload_fetch (test programs, checked by SHA-256; Claude Code asks first), presentmon_install (Windows only)

The test programs, their arguments (workload, api, dim, size, example) and the Mac levers are in Test programs. Reading numbers across runs: Reading and comparing.

HTTP

METAL_TRACE_TOKEN=<secret of 16+ characters> metal-gpu-trace --http [--port N] serves the same tools at POST http://127.0.0.1:8765/mcp, for a client on the same Mac that cannot start a stdio server. It listens on 127.0.0.1 only, needs Authorization: Bearer <token> on every request, and does not start without the token. It speaks both MCP eras: HTTP, and why two: ADR-0002.

CI gate

metal-gpu-trace check RUN BASELINE [--margin-pct N] runs perf_check without a client and prints one JSON line. Exit code 0: same or improved; 1: regressed; 2: could not be judged (no such run or reference, or under 100 frames). Recording needs Instruments, so the job runs on a self-hosted macOS runner:

jobs:
  perf:
    runs-on: [self-hosted, macOS, ARM64]
    steps:
      - run: PERF_OUT=~/perf-runs zsh path/to/metal-gpu-trace/src/metal_gpu_trace/perf_record.sh pr 30 native - . ./app
      - run: METAL_TRACE_OUT=~/perf-runs metal-gpu-trace check "$(ls -t ~/perf-runs/pr_*.json | head -1 | xargs basename -s .json)" main-ref

If you want to understand...

Credits

  • The record layout of a .gputrace command stream follows tmc/gputrace (MIT); no code is copied. The call ids were matched against Xcode's command list on macOS 27.0.1.

  • GPU family facts: Apple's documents, restated, not quoted.

Available Tools

26 tools
capture_diffCompare two capturesB
Read-only

Compares two .gputrace captures by their confirmed Metal calls: totals per call (a, b, delta) and the 100 debug groups with the largest change. Needs no Xcode.

Inputs: a (required), b (required), fields. Returns: object

capture_recordsRead a capture's recordsB
Read-only

Returns one page of the records of a .gputrace command stream, with their Metal call names when known.

Inputs: capture (required), limit, fields, offset. Returns: rows, total, offset, next_offset

capture_summarySummarize a captureA
Read-only

Reads a Metal .gputrace capture without Xcode: command buffers, encoders, draws, debug groups, and the 100 most frequent call ids out of calls_total.

Inputs: capture (required), fields. Returns: object

gpu_familyApple GPU family factsA
Read-only

Apple's published facts for one GPU family ("Apple7") or chip ("M1 Pro"): its chips, what it adds, its limits, the limits shared by all families, footnotes and source URLs.

Inputs: name (required), fields. Returns: object

perf_abRecord two settings in A B B A orderB
Destructive

Records the same program with two environments in the order A B B A (rounds times) and says per metric whether B is better, worse or the same as A, with every value behind it. Runs are name-a1, name-b1, ... Each takes its seconds plus about a minute of read-back.

Inputs: name (required), env_a (required), env_b (required), api, +19 more. Returns: object

perf_attachRecord a running programA

Records a program that is already running, by pid or by a name in its command line, for seconds, and returns perf_record's summary; the program keeps running. For games from Steam, CrossOver or any launcher: start the game first.

Inputs: label (required), process (required), fields, seconds. Returns: object

perf_baselineName a referenceA
Idempotent

Names a reference for perf_check, or lists them. With name and runs (equal runs of one program) it saves their summaries as the reference, replacing a previous one, and returns each number's range and spread_pct: the noise a change must exceed. With name alone it shows that reference; with nothing it lists them.

Inputs: name, runs, fields, skip_s. Returns: object

perf_baseline_recordRecord a referenceA
Destructive

Records the same program count times with perf_record's arguments and saves the runs as the reference name for perf_check, returning the range each number spans. Runs are name-1, name-2, ... Each takes its seconds plus about a minute of read-back.

Inputs: name (required), api, dim, env, +18 more. Returns: object

perf_checkCheck a run against a referenceA
Read-only

Judges a recording against a reference from perf_baseline: regressed when FPS falls under the reference's lowest, or GPU ms per frame rises over its highest, by more than margin_pct, or encoders or command buffers per frame exceed its highest; improved when a number leaves the range the other way and none regressed; same otherwise. Windows against Metal is judged on FPS alone. Returns the reasons and perf_compare's comparison.

Inputs: run (required), baseline (required), fields, margin_pct. Returns: object

perf_cold_warmRecord a run twice to find first-seen shader stutterB
Destructive

Records the same program twice and says what the first run suffers that the second does not: shader-compile hitches (first minus second, never below 0), each run's hitch count and compiler time. macOS only. Runs are name-first and name-second.

Inputs: name (required), api, dim, env, +15 more. Returns: object

perf_compareCompare two recordingsA
Read-only

Compares two saved recordings, a the reference and b the run after a change: headline numbers (FPS, GPU ms, frame pacing, memory), then the GPU work: encoders and command buffers per frame, share of short encoders, idle time, and each encoder label's change, largest first. layer says whether both ran on the same translation layer; measure marks Windows against Metal (use FPS, lows, stutter, jitter); runs under 100 frames are flagged. screen, noisy_environment flag runs that do not compare; suggested_actions says what to call next.

Inputs: a (required), b (required), fields, skip_s, +2 more. Returns: object

perf_diagnoseDiagnose encoder useA
Read-only

Says whether a saved recording splits its GPU work into too many short encoders (the pattern of translation layers such as DXMT, Mullion or MoltenVK), with the numbers: encoders and command buffers per frame, share of short encoders, labels with the most GPU time, idle time (read with the FPS: vsync idles too). suggested_actions says what to call next.

Inputs: run (required), fields, short_us, short_share, +1 more. Returns: object

perf_export_traceExport frames to PerfettoA
Idempotent

Writes a recording's GPU frames as <run>.chrome-trace in the runs directory, for ui.perfetto.dev and chrome://tracing: one slice per GPU frame. Returns the file name and the number of frames.

Inputs: run (required), fields. Returns: object

perf_gateCheck a run against budgetsA
Read-only

Checks a recording against budgets and says pass or fail: FPS and 1% low floors, ceilings for stutter rate, p95 GPU ms per frame, hitches and peak Metal MiB. Give at least one. A number the recording lacks fails its budget (value null), and so does a run that stopped presenting (unpresented). Returns each budget with its limit, value and whether it held.

Inputs: run (required), fields, skip_s, fps_min, +5 more. Returns: object

perf_historyFollow a number across runsA
Read-only

Lists the recordings whose name starts with prefix, oldest first, with FPS, 1% low, GPU ms, stutter, hitches and peak Metal MiB, and the change from first to last. A trend is real only above the spread_pct of perf_baseline. Windows and Metal runs in one series are flagged.

Inputs: prefix (required), limit, fields, skip_s. Returns: object

perf_memory_breakdownBreak down Metal allocations by typeA
Read-only

Breaks down the Metal allocations of a saved recording by type (texture, buffer, heap...): allocated, still live and gone per type. A small live share of a large allocated size is churn, the pattern behind a memory spike or a stall. Also totals, live memory by mode, allocation rate and peak. Needs a Metal recording above tier light.

Inputs: run (required), top, fields. Returns: object

perf_recordRecord a programA
Destructive

Records program (an .exe under Wine, or a macOS binary with wine="native") or a test workload for seconds with Metal System Trace and returns its summary: GPU ms per frame, frame intervals, FPS, Metal and resident memory. It then stops every program of that Wine prefix (wineserver -k), or every process named like the program with native. tier sets memory and counters together; compare recordings of the same tier.

Inputs: label (required), api, dim, env, +15 more. Returns: object

perf_runsList recordingsB
Read-only

Lists the saved recordings, newest first, with frames, FPS, GPU ms per frame, memory peaks and the translation layer each ran on; project names the project they belong to.

Inputs: limit, fields, offset. Returns: rows, total, offset, next_offset

perf_sweepRecord one run per value of a variableA
Destructive

Records the same program once per value of one variable and returns, per value, the median FPS, 1 % low, GPU ms per frame and stutter; with 3 or more numeric values also the line GPU ms follows (fixed ms plus ms per unit) with its r2. With rounds above 1 the values run in reverse every other round, so drift hits all alike. Runs are name--r; each takes its seconds plus about a minute of read-back.

Inputs: name (required), values (required), variable (required), api, +20 more. Returns: object

presentmon_installInstall PresentMon (Windows)A
Idempotent

Windows only: downloads Intel's PresentMon console application (MIT) from its GitHub release, checks its SHA-256 against the one this package pins, and keeps it in %LOCALAPPDATA%\metal-gpu-trace, where perf_record and perf_attach find it; later calls reuse it. It needs administrator rights or the Performance Log Users group to run.

Inputs: fields. Returns: object

project_infoShow the active projectA
Read-only

Says which project is active: its name, baseline and format, the folder its recordings go to and where that folder comes from (the project file, METAL_TRACE_OUT or the default ./perf-runs). Without a project file, project and baseline are null.

Inputs: fields. Returns: object

trace_countCount a trace's rowsA
Read-only

Counts the rows of tables of a recording, in all and per process: a table with 0 rows needs another instrument or Xcode, not a bigger page. Reads the .trace when kept, else the tables file.

Inputs: trace (required), fields, tables. Returns: object

trace_queryRead a trace tableA
Read-only

Returns one page of rows of one table of a recording as {column: value}, optionally one process's. With window_ms the page holds time windows instead ({start_ms, count}, plus duration_ms when the table has a duration column). Rows come from the .trace when kept, else from the tables file; where, columns, order_by with descending, and group_by with aggregates filter and summarize the tables file (never SQL) and need it.

Inputs: trace (required), schema (required), pid, limit, +9 more. Returns: rows, total, offset, next_offset

trace_tablesList a trace's tablesB
Read-only

Lists the data tables of a recording: those of its .trace when kept, else those its tables file stored.

Inputs: trace (required), fields. Returns: object

workload_fetchDownload a test programA
Idempotent

Downloads a test program from this project's GitHub releases once, checks its SHA-256 against the one this package pins, and keeps it in ~/Library/Caches/metal-gpu-trace; later calls reuse it. The programs are built from source by the project's workloads workflow. A workload with downloads (Godot) also fetches each of those zip files from its own publisher, checks its SHA-512 against the one data/workloads.json pins and unzips it into the workload's folder.

Inputs: name (required), fields. Returns: object

workload_listList test programsA
Read-only

Lists the test programs workload_fetch can download, such as bgfx's drawstress: what each measures, its size, license and APIs, and whether it is already downloaded.

Inputs: fields. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 26 tools

    Disambiguation3/5

    The set is broadly organized by domain, but several perf_* tools overlap in the agent's decision space: perf_runs vs perf_history both list recordings, perf_check vs perf_gate vs perf_compare all judge runs, and perf_baseline vs perf_baseline_record both create references. The detailed descriptions help, but an agent must read carefully to choose correctly among many recording and comparison variants.

    Naming Consistency4/5

    Names consistently use snake_case and mostly share domain prefixes (perf_, capture_, trace_, workload_), with predictable suffixes. Minor deviations exist: some are noun-like (perf_runs, gpu_family, project_info), and presentmon_install does not follow a perf/capture prefix.

    Tool Count3/5

    At 26 tools, the surface is heavy and sits just above the comfortable upper range. The broad domain (recording, baselines, captures, trace tables, workloads, Windows PresentMon) justifies most tools, but several perf_* recording/analysis variants could be consolidated.

    Completeness4/5

    The tool set covers the domain comprehensively: recording, baselines, comparisons, gates, diagnostics, captures, trace tables, workload fetching, and GPU family metadata. Minor gaps remain, such as deleting or cleaning up saved runs/captures and configuring project output beyond the existing project_info behavior.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables GPU profiling and performance analysis via NVIDIA Nsight Systems, allowing agents to profile binaries and aggregate statistics for kernels, memory copies, and NVTX ranges. It supports advanced analysis through interval tree construction and structural queries on profiling reports.
      5
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to profile iOS/macOS apps using Xcode Instruments, automate simulator interactions, and get structured performance data for optimization.
      37
      27 npm
      20
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables coding agents to profile and disassemble GPU kernels, benchmark and compare candidate rewrites against baselines, and run an autonomous speedrun loop that verifies and records results.
      10
      Apache 2.0