# Performance Profiler

> Application performance profiling - runtime snapshots, benchmarking, memory analysis, startup timing, and bottleneck detection

- Skill: `chainlesschain/performance-profiler` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add chainlesschain/performance-profiler`
- Raw SKILL.md: https://api.skillmd.com/api/skills/chainlesschain/performance-profiler/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: chainlesschain (https://skillmd.com/u/chainlesschain)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/chainlesschain/performance-profiler

---


# Performance Profiler

Application performance profiling skill using Node.js built-in APIs.

## Features

| Action    | Command                                  | Description                                  |
| --------- | ---------------------------------------- | -------------------------------------------- |
| Snapshot  | `--snapshot`                             | Capture current process performance snapshot |
| Benchmark | `--benchmark <command> [--runs N]`       | Run a command N times, measure timing stats  |
| Memory    | `--memory`                               | Detailed memory analysis with growth trend   |
| Startup   | `--startup <command>`                    | Measure cold startup time of a command       |
| Compare   | `--compare <file1> <file2>`              | Compare two saved snapshot JSON files        |
| Profile   | `--profile <file.js> [--duration <sec>]` | Profile a Node.js script execution           |
| Report    | `--report [--output <file>]`             | Generate comprehensive performance report    |
| (default) | (no flags)                               | Same as --snapshot                           |

## Output

- All timing in milliseconds or seconds as appropriate
- Memory sizes in human-readable format (MB/GB)
- Benchmark statistics include avg, min, max, and standard deviation
- Snapshot comparison shows absolute and percentage deltas

