-
-
Notifications
You must be signed in to change notification settings - Fork 10
Performance Alerts
The Performance Alerts extension for the ExpressionEngine Debug Toolbar (EEDT) is designed to point out specific points of interest in an ExpressionEngine site where performance is an issue. It comes bundled with EEDT and is available on every installation.
Performance Alerts will inspect your ExpressionEngine debug info and modify EEDT to show which items are concerning. The basic idea is that a website should be fast and responsive so anything that takes longer than XX is an issue. There are 4 points of interest:
- Maximum Execution Time
- Maximum Memory
- Maximum SQL Queries
- Maximum SQL Execution Time
By default, Performance Alerts comes with some logical presets for what we think makes for a good performance point but those values aren't for every developer or every project. You can change these values either in the EEDT Settings page or through EEDT Config Overrides like the below:
$config['ee_debug_toolbar']['max_exec_time'] = 0.5;
$config['ee_debug_toolbar']['max_memory'] = 10;
$config['ee_debug_toolbar']['max_queries'] = 100;
$config['ee_debug_toolbar']['max_sql_time'] = 0.1;
Performance Alerts adds an update to the Database panel to show which queries are possible performance issues. Clicking on "Slow Queries" will list said queries.
