Performance Alerts - mithra62/ee_debug_toolbar GitHub Wiki
The Performance Alerts feature for the Debug Toolbar (EEDT) is designed to point out specific points of interest in an ExpressionEngine site where performance is an issue. It comes included with EEDT and is available on every installation.
Overview
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
- Maximum Query Execution Time
- Maximum Query Memory use
Configure
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:
<?php
$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;
$config['ee_debug_toolbar']['max_query_time'] = 0.01;