profiling-performance
/profiling-performance
Profile a running web application's CPU performance using Cursor's built-in browser profiler. Captures call stacks, identifies slow functions, and suggests optimizations. Use when a page feels slow or janky.
- Author
- spencerpauly ↗
- Repository
- awesome-cursor-skills ↗
- Licence
- CC0-1.0
- Last repository change
- 01.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 01.08.2026, without references to retired models or APIs.
CC0-1.0, otwarta.
What it does and when to use it
Profile a running web application's CPU performance using Cursor's built-in browser profiler. Captures call stacks, identifies slow functions, and suggests optimizations. Use when a page feels slow or janky.
Triggers from the description
Original author description
Profile a running web application's CPU performance using Cursor's built-in browser profiler. Captures call stacks, identifies slow functions, and suggests optimizations. Use when a page feels slow or janky.
How it works
- How It Works
- Steps
- Notes
SKILL.md preview
---
name: profiling-performance
description: Profile a running web application's CPU performance using Cursor's built-in browser profiler. Captures call stacks, identifies slow functions, and suggests optimizations. Use when a page feels slow or janky.
---
# Performance Profile
Use this skill when a web application feels slow, janky, or unresponsive. Cursor's built-in browser has CPU profiling tools that capture real call stacks and timing data.
## How It Works
The `cursor-ide-browser` MCP provides `browser_profile_start` and `browser_profile_stop` tools that capture Chrome DevTools-format CPU profiles. Profile data is written to `~/.cursor/browser-logs/` as both raw JSON and a human-readable summary.
## Steps
1. **Ensure the app is running** — start the dev server if it isn't already running.
2. **Navigate to the slow page**:
```
Tool: browser_navigate
Arguments: { "url": "http://localhost:3000/slow-page" }
```
3. **Start profiling**:
```
Tool: browser_profile_start
```
4. **Reproduce the slow interaction** — use browser tools to trigger the slow behavior:
- Click buttons, scroll, type in inputs, navigate between pages
- Use `browser_click`, `browser_scroll`, `browser_fill` to interact
- Wait a few seconds for the interaction to complete
5. **Stop profiling**:
```
Tool: browser_profile_stop
```
This writes two files to `~/.cursor/browser-logs/`:
- `cpu-profile-{timestamp}.json` — raw Chrome DevTools profile
- `cpu-profile-{timestamp}-summary.md` — human-readable summary
6. **Analyze the results** — read both files. Key things to look for in the raw JSON:
- `profile.nodes[].hitCount` — how many samples hit each function
- `profile.nodes[].callFrame.functionName` — the function names
- `profile.samples.length` — total number of samples collected
Cross-reference with the summary to identify:
- Functions consuming the most CPU time
- Unexpected re-renders or layout thrashing
- Expensive third-party library calls
- Synchronous operations blocking the main thread
7. **Suggest fixes** — based on the profile data, recommend specific optimizations:
- Memoize expensive computations
- Debounce rapid event handlers
- Move heavy work to a Web Worker
- Lazy-load components or routes
- Virtualize long lists
## Notes
- Always read the raw `.json` profile to verify the summary — the summary can miss nuances.
- Profile in development mode first, but be aware that React dev mode adds overhead. For accurate measurements, profile a production build.
- Short profiles (2-5 seconds of interaction) are usually more useful than long ones.
- Compare before/after profiles to verify your optimization actually helped.
Versions
The database has no other skills named profiling-performance.
Database snapshot: 13.11.2026 · package version 981ff2931d6a (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100profiling-application-performance
Execute this skill enables AI assistant to profile application performance, analyzing cpu usage, memory consumption, and execution time. it is triggered when the user requests performance analysis, bottleneck identification, or optimization recommendations. the... Use when… - 100profiling-application-performance
Execute this skill enables AI assistant to profile application performance, analyzing cpu usage, memory consumption, and execution time. it is triggered when the user requests performance analysis, bottleneck identification, or optimization recommendations. the... Use when… - 100ultra-profiler
Use this skill to profile the CPU of a .NET application, a .NET application with native code, or a native application with the Ultra profiler, run through `dnx` - find why a program is slow or uses the CPU, capture a profile of a running process or of a program from its start,… - 100performance-profiler
Systematic performance profiling for Node.js, Python, and Go applications. Identifies CPU, memory, and I/O bottlenecks, generates flamegraphs, analyzes bundle sizes, optimizes database queries, runs load tests with k6 and Artillery. Always measures before and after. Use when… - 100performance-profiler
Performance profiling for Node.js, Python, and Go: CPU flamegraphs, memory leak detection, bundle analysis, query optimization, and k6 load testing. Use when diagnosing slow endpoints, memory growth, large bundles, or traffic spikes. - 100performance-profiling
Finds and fixes backend and application performance problems by measuring first - define the target metric, reproduce under realistic load, profile CPU, memory, I/O and locks, fix the biggest bottleneck, re-measure, and add a regression guard. Use when code or a service is slow,…