2013-06-19 16:32:58 +03:00
|
|
|
|
{**
|
|
|
|
|
* Информация о производительности движка
|
2013-06-21 14:18:06 +03:00
|
|
|
|
*
|
|
|
|
|
* @styles css/admin.css
|
2013-06-19 16:32:58 +03:00
|
|
|
|
*}
|
|
|
|
|
|
2012-04-23 13:53:41 +03:00
|
|
|
|
{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
2013-06-21 14:18:06 +03:00
|
|
|
|
<div class="alert alert-info stat-performance">
|
2012-04-23 13:53:41 +03:00
|
|
|
|
{hook run='statistics_performance_begin'}
|
2013-06-21 14:18:06 +03:00
|
|
|
|
|
2012-04-23 13:53:41 +03:00
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<h4>MySql</h4>
|
|
|
|
|
query: <strong>{$aStatsPerformance.sql.count}</strong><br />
|
|
|
|
|
time: <strong>{$aStatsPerformance.sql.time}</strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<h4>Cache</h4>
|
|
|
|
|
query: <strong>{$aStatsPerformance.cache.count}</strong><br />
|
|
|
|
|
— set: <strong>{$aStatsPerformance.cache.count_set}</strong><br />
|
|
|
|
|
— get: <strong>{$aStatsPerformance.cache.count_get}</strong><br />
|
|
|
|
|
time: <strong>{$aStatsPerformance.cache.time}</strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<h4>PHP</h4>
|
|
|
|
|
time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br />
|
|
|
|
|
full time: <strong>{$iTimeFullPerformance}</strong>
|
|
|
|
|
</td>
|
2013-06-21 14:18:06 +03:00
|
|
|
|
|
2012-04-23 13:53:41 +03:00
|
|
|
|
{hook run='statistics_performance_item'}
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2013-06-21 14:18:06 +03:00
|
|
|
|
|
2012-04-23 13:53:41 +03:00
|
|
|
|
{hook run='statistics_performance_end'}
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|