fuel/core — Issue #576: Profiler doesn't show exec time for queries
Author: darklow
Created: 2011-10-13 14:58:39+00:00
State: open

Exec time shows only if(isset($query['explain'])) however there is time logged in $query['time'] variable
Somebody should change display.php so that it displays each query time always and not only when Explain isset.
Thanks

As we can see in this file printing Speed: '.$query['time'].' is left inside the isset explain key block.

**vendor/phpquickprofiler/display.php**
Lines: 253 - 268

```php
foreach($output['queries'] as $query) {
$return_output .='

'.$query['sql'];
if(isset($query['explain'])) {
$return_output .='
Possible keys: '.$query['explain']['possible_keys'].' ·
Key Used: '.$query['explain']['key'].' ·
Type: '.$query['explain']['type'].' ·
Rows: '.$query['explain']['rows'].' ·
Speed: '.$query['time'].'
';
}
$return_output .='
';
if($class == '') $class = 'alt';
else $class = '';
}
```