Performance profiler
Skill rafaelghif/antigravity-agents/.agents/skills/performance-profiler
Profile code for performance regressionsFrom its SKILL.md
npx -y skills add rafaelghif/antigravity-agents --skill performance-profilerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.2 KB, 212 tokens by cl100k_base, as published. Nobody here has run it
Performance Profiler Skill
Objective
Identify and resolve performance bottlenecks such as N+1 queries, memory leaks, and inefficient algorithms.
When to Execute
- When modifying database queries or loops processing large datasets.
- During PR reviews for performance-critical modules.
Execution Steps
- Check for N+1 queries in ORM/database operations.
- Analyze loops for inefficient algorithmic complexity (e.g., O(n²) vs O(n)).
- Check for memory leaks. Run memory profiler in production mode for 5 minutes with simulated load. Track heap size growth pattern: if +10% in <5 minutes → investigate. Check event listener count:
process._getActiveHandles()(Node.js) orlen(weakref.getweakrefs())(Python). Report findings with before/after heap snapshots. - For frontend applications, run Lighthouse (or similar) to evaluate performance metrics.
- Report findings in
.agents/plans/perf-<date>.mdand propose optimizations.