Agent skill
performance-profiler-tools
Python tools for analyzing Instruments traces and performance data
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/performance-profiler-tools
SKILL.md
Performance Profiler Tools
Analyze Instruments trace files and performance data.
Capabilities
- Parse Instruments .trace files
- Extract Time Profiler data
- Analyze Allocations data
- Generate performance reports
- Compare trace files
- Identify performance regressions
- Calculate time percentages
- Find memory growth patterns
Tools
instruments_analyzer.py - Parse Instruments traces
Commands
# Analyze trace
./instruments_analyzer.py analyze app.trace
# Compare traces
./instruments_analyzer.py compare --baseline baseline.trace --current current.trace
# Find hot paths
./instruments_analyzer.py hotpaths app.trace --threshold 5%
# Memory analysis
./instruments_analyzer.py memory app.trace
Output
Performance Analysis
===================
Total Time: 2.45s
Top Methods:
1. drawRect: (456ms, 18.6%)
2. calculateStatistics (234ms, 9.5%)
3. readFromStore (198ms, 8.1%)
Recommendations:
- Cache drawRect results
- Optimize calculateStatistics algorithm
- Add index to database query
Complements
performance-profiler agent (launches Instruments)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?