Commit b0650953 by Frederick

Performance

1 parent ba59200e
......@@ -117,7 +117,8 @@ class mcPerformance {
foreach(mcPerformance::$StaticCalls as $classname => $fnc) {
D::li('<b>'.$classname.'</b>');
foreach($fnc as $fncname => $FncCalls) {
D::ulli('<b>'.$fncname.' with '.count($FncCalls).' different fnc calls </b>');
$count_diff_FncCalls = count($FncCalls);
D::ulli('<b>'.$fncname.' with '.$count_diff_FncCalls.' different fnc calls </b>');
$allFncCalls = 0;
foreach($FncCalls as $FncCall) {
$backtraceString = '';
......@@ -140,7 +141,7 @@ class mcPerformance {
D::ulli('<i>'.$fncname.'('.$string4param.') wurde '.$FncCall['count'].' aufgerufen</i>'.' backtrace '.$backtraceString);
$allFncCalls += $FncCall['count'];
}
D::ulli('<b>'.$fncname.' general: '.$allFncCalls.' </b>');
D::ulli('<b>'.$fncname.' general: '.$allFncCalls.' (zu '.$count_diff_FncCalls.') </b>');
}
}
......
......@@ -13,6 +13,7 @@ mcReport::distribute($__mc_Report);
* developer things
*/
if($_LOSP_DEV) {
mcPerformance::showStats();
D::showStats($__mc_Report, $__BASEPATH_EX, $__mc_D_LOGFILE);
if($__mc_D_SCREENOUTPUT) {
D::printToScreen();
......
......@@ -12,6 +12,9 @@ require_once $__PATH_to_mcClasses . 'class_mcFile.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcCONST.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcCsv.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcDeprecated.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcArray.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcDate.inc.php';
require_once $__PATH_to_mcClasses . 'ReportHandling/class_mcReport.inc.php';
require_once $__PATH_to_mcClasses . 'ReportHandling/class_Error.inc.php';
require_once $__PATH_to_mcClasses . 'ReportHandling/class_Message.inc.php';
......@@ -20,6 +23,12 @@ require_once $__PATH_to_mcClasses . 'ReportHandling/class_mcEvent.inc.php';
require_once $__PATH_to_mcClasses . 'D/class_D.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcException.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcPerformance.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcCrypt.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcString.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcNumber.inc.php';
//require_once $__PATH_to_mcClasses . 'class_.inc.php';
//require_once $__PATH_to_mcClasses . 'class_.inc.php';
//require_once $__PATH_to_mcClasses . 'class_.inc.php';
require_once $__PATH_to_mcClasses . 'finance/class_mcZinsmethoden.inc.php';
?>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!