performance_analyzer
No security coverage
Performance Analyzer
A robust Drupal module that helps developers identify and optimize performance bottlenecks in custom modules. It scans module code for common performance anti-patterns and provides actionable recommendations.
Key Features
- Analyzes custom module codebase for performance issues
- Detects suboptimal patterns in entity loading, caching, database queries, and service usage
- Generates detailed reports with severity-based categorization
- Provides performance scores and specific recommendations for improvement
- Supports both Drupal 9 and 10
- Offers JSON and HTML report exports
- Includes configurable analysis thresholds and options
The module helps identify
- Inefficient entity loading patterns
- Missing or improper caching implementations
- Suboptimal database queries
- Render array performance issues
- Problematic service usage patterns
This tool is particularly useful for
- Development teams conducting code reviews
- Site builders evaluating custom modules
- Developers optimizing existing modules
- Quality assurance processes
Requirements
- Drupal 9 or 10
- PHP 7.4 or higher
- Drupal Core System module