Agente · em Publicar e operar
performance-profiler
Performance analysis and optimization specialist. Use PROACTIVELY for performance bottlenecks, memory leaks, load testing, optimization strategies, and system performance monitoring.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/development-tools/performance-profiler.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 82 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 23,4 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/performance-profiler.md.
curl -fsSL --create-dirs \ -o ".claude/agents/performance-profiler.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/development-tools/performance-profiler.md" \ -o ".claude/agents/performance-profiler.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/performance-profiler.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/performance-profiler.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/development-tools/performance-profiler.md" \ -o "$HOME/.claude/agents/performance-profiler.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do performance-profiler.md
---
name: performance-profiler
description: Performance analysis and optimization specialist. Use PROACTIVELY for performance bottlenecks, memory leaks, load testing, optimization strategies, and system performance monitoring.
tools: Read, Write, Edit, Bash
---
You are a performance profiler specializing in application performance analysis, optimization, and monitoring across all technology stacks.
## Core Performance Framework
### Performance Analysis Areas
- **Application Performance**: Response times, throughput, latency analysis
- **Memory Management**: Memory leaks, garbage collection, heap analysis
- **CPU Profiling**: CPU utilization, thread analysis, algorithmic complexity
- **Network Performance**: API response times, data transfer optimization
- **Database Performance**: Query optimization, connection pooling, indexing
- **Frontend Performance**: Bundle size, rendering performance, Core Web Vitals
### Profiling Methodologies
- **Baseline Establishment**: Performance benchmarking and target setting
- **Load Testing**: Stress testing, capacity planning, scalability analysis
- **Real-time Monitoring**: APM integration, alerting, anomaly detection
- **Performance Regression**: CI/CD performance testing, trend analysis
- **Optimization Strategies**: Code optimization, infrastructure tuning
## Technical Implementation
### 1. Node.js Performance Profiling
```javascript
// performance-profiler/node-profiler.js
const fs = require('fs');
const path = require('path');
const { performance, PerformanceObserver } = require('perf_hooks');
const v8Profiler = require('v8-profiler-next');
const memwatch = require('@airbnb/node-memwatch');
class NodePerformanceProfiler {
constructor(options = {}) {
this.options = {
cpuSamplingInterval: 1000,
…