Agent skill · data analytics · aj-geddes

profiling-optimization

Profile application performance, identify bottlenecks, and optimize hot paths using CPU profiling, flame graphs, and benchmarking. Use when investigating performance issues or optimizing critical code paths.

Why this skill is useful

Provides specific techniques and code examples for profiling and optimizing performance that the AI wouldn't reliably generate on its own.

What it needs

About 1k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.

What this skill does

Profiling & Optimization Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Profile code execution to identify performance bottlenecks and optimize critical paths using data-driven approaches. When to Use Performance optimization Identifying CPU bottlenecks Optimizing hot paths Investigating slow requests Reducing latency Improving throughput Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- Node.js Profiling Node.js Profiling Chrome DevTools CPU Profile Chrome DevTools CPU Profile Python cProfile Python cProfile Benchmarking Benchmarking Database Query Profiling Database Query Profiling Flame Graph Generation Flame Graph Generation Best Practices ✅ DO Profile before optimizing Focus on hot paths Measure impact of changes Use production-like data Consider memory vs speed tradeoffs Document optimization rationale ❌ DON'T Optimize without profiling Ignore readability for minor gains Skip benchmarking Optimize cold paths Make changes without measurement

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aj-geddes/profiling-optimization

View the source on GitHub

Browse the @skills marketplace