From: Marcel Werk Date: Sun, 1 May 2016 13:07:52 +0000 (+0200) Subject: Unified benchmark templates X-Git-Tag: 3.0.0_Beta_1~1777 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92a25b13be7c8d0521892523202dae7951472038;p=GitHub%2FWoltLab%2FWCF.git Unified benchmark templates --- diff --git a/com.woltlab.wcf/templates/benchmark.tpl b/com.woltlab.wcf/templates/benchmark.tpl index 1d7be2e7ea..d790c9d7ba 100644 --- a/com.woltlab.wcf/templates/benchmark.tpl +++ b/com.woltlab.wcf/templates/benchmark.tpl @@ -1,39 +1,39 @@
{if ENABLE_DEBUG_MODE}{/if}Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}{if ENABLE_DEBUG_MODE}{/if} - -{if ENABLE_DEBUG_MODE} - -
\ No newline at end of file diff --git a/wcfsetup/install/files/acp/templates/benchmark.tpl b/wcfsetup/install/files/acp/templates/benchmark.tpl index 2bea953c4c..d790c9d7ba 100644 --- a/wcfsetup/install/files/acp/templates/benchmark.tpl +++ b/wcfsetup/install/files/acp/templates/benchmark.tpl @@ -1,7 +1,7 @@
- Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()} + {if ENABLE_DEBUG_MODE}{/if}Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}{if ENABLE_DEBUG_MODE}{/if} - {if ENABLE_DEBUG_MODE} + {if ENABLE_DEBUG_MODE}