Skip to content
mithra62 edited this page Mar 16, 2013 · 8 revisions

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.

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:

  1. Maximum Execution Time
  2. Maximum Memory
  3. Maximum SQL Queries
  4. Maximum SQL Execution Time

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:

$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;

Slow Query Viewer

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.

Slow Query Viewer

Clone this wiki locally