Optimized roughly the load of user management data, and added a mean for quick profiling (to enable, add the setting log_duration)

SVN:trunk[711]
This commit is contained in:
Romain Quetiez
2010-08-29 19:49:17 +00:00
parent e6bdaf87e7
commit 75bbad57fa
13 changed files with 241 additions and 52 deletions

View File

@@ -455,6 +455,7 @@ try
require_once('../application/itopwebpage.class.inc.php');
require_once('../application/wizardhelper.class.inc.php');
$oDuration = new Duration();
require_once('../application/startup.inc.php');
$oAppContext = new ApplicationContext();
$currentOrganization = utils::ReadParam('org_id', '');
@@ -1389,6 +1390,7 @@ EOF
$oP->set_title($oMenuNode->GetLabel());
}
}
$oDuration->Scratch('Total page execution time');
////MetaModel::ShowQueryTrace();
$oP->output();
}