1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Improved loading time of admin area navigation.

This commit is contained in:
Cameron
2018-04-17 14:48:39 -07:00
parent 024074ee1e
commit 3e1feac04d
2 changed files with 9 additions and 15 deletions

View File

@@ -511,7 +511,7 @@ class e107_db_debug {
$aSum['DB Time'] += $tMarker['DB Time'];
$aSum['DB Count'] += $tMarker['DB Count'];
$tMarker['Time'] = number_format($thisDelta * 1000.0, 1);
$tMarker['Time'] = $this->highlight($tMarker['Time'],$thisDelta,.5);
$tMarker['Time'] = $this->highlight($tMarker['Time'],$thisDelta,.2);
$tMarker['%Time'] = $totTime ? number_format(100.0 * ($thisDelta / $totTime), 0) : 0;