
magento-performance-analyst
Conducts comprehensive Magento 2 performance analysis and optimization. Use when analyzing performance bottlenecks, profiling applications, optimizing database queries, or improving system scalability. Masters profiling tools, database optimization, and enterprise-scale performance tuning.
- Installs
- 428
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-performance-analyst- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads magento-performance-analyst automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Magento 2 Performance Analyst
Expert specialist in conducting comprehensive performance analysis and implementing systematic optimizations that deliver measurable improvements in application speed, scalability, and user experience.
When to Use
- Analyzing performance bottlenecks
- Profiling applications
- Optimizing database queries
- Improving system scalability
- Conducting load testing
- Optimizing frontend performance
Performance Analysis
Profiling Tools
- Blackfire: Performance profiling and optimization
- XHProf: PHP profiling tool
- New Relic: APM monitoring
- Browser DevTools: Frontend performance analysis
- Database Profiling: Query profiling and analysis
Bottleneck Identification
- Code Profiling: Identify slow functions and performance hotspots
- Database Analysis: Analyze slow queries and database performance
- Network Analysis: Identify network latency and bandwidth issues
- Resource Contention: Identify resource conflicts and bottlenecks
- Third-party Integration: Analyze external service performance impact
Performance Optimization Areas
Frontend Performance
- Core Web Vitals: Optimize LCP, FID, CLS, and other web vitals
- JavaScript Optimization: Minimize and optimize JavaScript execution
- CSS Optimization: Optimize stylesheet delivery and rendering
- Image Optimization: Modern image formats and responsive loading
- Asset Optimization: Minimize and compress assets
Database Optimization
- Query Optimization: Optimize database queries and eliminate N+1 problems
- Index Strategy: Design efficient database indexing
- Connection Pooling: Optimize database connection management
- Query Caching: Implement query result caching
- Database Tuning: Tune database configuration for performance
Application Optimization
- Code Optimization: Optimize PHP code execution
- Memory Management: Optimize memory usage and detect leaks
- Caching Strategy: Implement comprehensive caching strategies
- Resource Management: Optimize CPU, I/O, and network resources
- Lazy Loading: Implement lazy loading for expensive operations
Performance Analysis Process
1. Performance Assessment
- Baseline Establishment: Establish current performance baselines and metrics
- User Experience Analysis: Analyze real user performance and experience
- System Resource Analysis: Assess CPU, memory, disk, and network usage
- Application Profiling: Deep application profiling and code analysis
- Infrastructure Assessment: Evaluate infrastructure performance and capacity
2. Bottleneck Identification
- Code Profiling: Identify slow functions and performance hotspots
- Database Analysis: Analyze slow queries and database performance
- Network Analysis: Identify network latency and bandwidth issues
- Resource Contention: Identify resource conflicts and bottlenecks
- Third-party Integration: Analyze external service performance impact
3. Optimization Planning
- Priority Matrix: Prioritize optimizations based on impact and effort
- Resource Planning: Plan resource requirements for optimizations
- Risk Assessment: Assess risks associated with performance changes
- Testing Strategy: Plan comprehensive testing for optimization changes
- Rollback Planning: Prepare rollback strategies for optimization failures
4. Implementation & Validation
- Optimization Implementation: Implement systematic performance improvements
- Performance Testing: Validate optimization effectiveness through testing
- Monitoring Setup: Implement monitoring for sustained performance
- Documentation: Document optimization changes and performance gains
- Continuous Monitoring: Establish ongoing performance monitoring
Performance Metrics
Key Metrics
- Page Load Time: Total page load time
- Time to First Byte (TTFB): Server response time
- Largest Contentful Paint (LCP): Loading performance
- First Input Delay (FID): Interactivity
- Cumulative Layout Shift (CLS): Visual stability
Database Metrics
- Query Execution Time: Database query performance
- Slow Query Count: Number of slow queries
- Connection Pool Usage: Database connection efficiency
- Index Usage: Index effectiveness
- Cache Hit Rate: Cache performance
Best Practices
Optimization Strategy
- Measure First: Always measure before optimizing
- Prioritize High Impact: Focus on optimizations with highest impact
- Incremental Approach: Make incremental improvements
- Test Thoroughly: Test all optimizations thoroughly
- Monitor Continuously: Monitor performance continuously
Scalability Planning
- Horizontal Scaling: Design for horizontal scaling
- Vertical Scaling: Optimize for vertical scaling when needed
- Load Balancing: Implement proper load balancing
- Resource Planning: Plan for resource growth
- Performance Budgets: Set and maintain performance budgets
Tools & Commands
Profiling Commands
# Enable developer mode for profiling
bin/magento deploy:mode:set developer
# Check performance
bin/magento setup:performance:generate-fixtures
# Database status
bin/magento setup:db:status
Monitoring
- Set up APM tools (New Relic, Datadog, etc.)
- Monitor server resources (CPU, memory, disk)
- Track application metrics
- Set up alerts for performance degradation
References
Focus on systematic performance analysis and optimization that delivers measurable improvements.
FAQ
What does the magento-performance-analyst skill do?
Conducts comprehensive Magento 2 performance analysis and optimization. Use when analyzing performance bottlenecks, profiling applications, optimizing database queries, or improving system scalability. Masters profiling tools, database optimization, and enterprise-scale performance tuning.
How do I install magento-performance-analyst?
Run npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-performance-analyst in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/magento-performance-analyst/ (personal) or .claude/skills/magento-performance-analyst/ (project).
Which AI agents can use magento-performance-analyst?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is magento-performance-analyst safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains magento-performance-analyst?
It is published by maxnorm in maxnorm/magento2-agent-skills. It has 428 recorded installs.
More from maxnorm/magento2-agent-skills
magento-hyva-specialist
maxnorm/magento2-agent-skills
Develops high-performance Magento 2 storefronts using Hyvä theme framework. Use when working with Hyvä themes, Alpine.js, Tailwind CSS, or modern frontend development. Masters Alpine.js architecture, Tailwind CSS styling, and performance optimization for blazing-fast e-commerce experiences.
magento-code-reviewer
maxnorm/magento2-agent-skills
Reviews Magento 2 code for quality, security, performance, and compliance with PSR-12 and Magento coding standards. Use proactively when reviewing code, before commits, during pull requests, or when ensuring code quality. Enforces strict type declarations, proper dependency injection, security best practices, and performance optimization.
magento-module-developer
maxnorm/magento2-agent-skills
Open the skill to read its SKILL.md instructions.
magento-frontend-developer
maxnorm/magento2-agent-skills
Open the skill to read its SKILL.md instructions.
magento-xml-specialist
maxnorm/magento2-agent-skills
Open the skill to read its SKILL.md instructions.
magento-issue-debugger
maxnorm/magento2-agent-skills
Open the skill to read its SKILL.md instructions.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.