XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total127,529125,846 us100.0%125,846 us100.0%
main()1125,846 us100.0%105 us0.1%
AphrontApplicationConfiguration::processRequest1124,111 us98.6%95 us0.1%
PhabricatorConfigEditController::handleRequest184,595 us67.2%316 us0.3%
PhabricatorApplicationTransactionEditor::applyTransactions168,501 us54.4%223 us0.2%
call_user_func_array1,76849,528 us39.4%2,188 us1.7%
queryfx1746,441 us36.9%150 us0.1%
AphrontBaseMySQLDatabaseConnection::executeQuery1741,734 us33.2%318 us0.3%
PhabricatorController::willBeginExecution135,488 us28.2%119 us0.1%
AphrontRequest::validateCSRF833,477 us26.6%49 us0.0%
PhabricatorUser::validateCSRFToken833,396 us26.5%26 us0.0%
AphrontDatabaseConnection::query631,215 us24.8%28 us0.0%
call_user_func37331,058 us24.7%381 us0.3%
PhabricatorAuthCSRFEngine::isValidToken830,210 us24.0%207 us0.2%
LiskDAO::save429,760 us23.6%11 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite1729,295 us23.3%47 us0.0%
AphrontWriteGuard::willWrite729,193 us23.2%16 us0.0%
PhabricatorAuthCSRFEngine::newRawToken5629,016 us23.1%596 us0.5%
PhabricatorPolicyFilter::apply1126,653 us21.2%204 us0.2%
LiskDAO::insert323,424 us18.6%11 us0.0%
LiskDAO::insertRecordIntoDatabase323,413 us18.6%121 us0.1%
PhutilOpaqueEnvelope::mask8022,842 us18.2%22,788 us18.1%
PhabricatorPolicyAwareQuery::execute620,745 us16.5%178 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols19920,737 us16.5%6,111 us4.9%
PhabricatorSpacesNamespaceQuery::getViewerSpaces120,694 us16.4%26 us0.0%
PhabricatorPolicyFilter::hasCapability520,648 us16.4%41 us0.0%
PhutilOpaqueEnvelope::openEnvelope6819,790 us15.7%141 us0.1%
PhutilQueryString::renderString63019,288 us15.3%809 us0.6%
xsprintf63019,026 us15.1%5,894 us4.7%
PhabricatorWorker::scheduleTask118,566 us14.8%28 us0.0%
PhabricatorWorkerActiveTask::save116,802 us13.4%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease116,797 us13.3%20 us0.0%
xsprintf_query93416,434 us13.1%5,928 us4.7%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage416,303 us13.0%18 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows415,789 us12.5%22 us0.0%
PhabricatorApplicationConfigOptions::loadAllOptions215,517 us12.3%506 us0.4%
PhutilQueryString::getMaskedString18614,994 us11.9%157 us0.1%
PhutilSymbolLoader::loadSymbol52714,824 us11.8%2,493 us2.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection413,868 us11.0%38 us0.0%
PhutilQueryString::getUnmaskedString44412,883 us10.2%405 us0.3%
PhabricatorProjectQuery::loadPage312,876 us10.2%10 us0.0%
PhutilBootloader::loadLibrarySource46012,548 us10.0%1,109 us0.9%
spl_autoload_call18312,256 us9.7%267 us0.2%
__phutil_autoload18312,046 us9.6%880 us0.7%
PhutilClassMapQuery::execute2012,003 us9.5%70 us0.1%
PhutilClassMapQuery::loadMap1411,888 us9.4%521 us0.4%
PhutilBootloader::executeInclude46011,553 us9.2%4,148 us3.3%
qsprintf14810,999 us8.7%483 us0.4%
queryfx_all1010,742 us8.5%50 us0.0%
PhutilQueryString::__construct14810,503 us8.3%184 us0.1%
PhutilSymbolLoader::loadObjects149,810 us7.8%357 us0.3%
PhabricatorHash::digestWithNamedKey578,945 us7.1%146 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery48,480 us6.7%65 us0.1%
PhabricatorHash::getNamedHMACKey578,414 us6.7%5,853 us4.7%
PhabricatorApplicationTransactionEditor::applyInternalEffects18,093 us6.4%11 us0.0%
PhabricatorConfigEditor::applyCustomInternalTransaction18,074 us6.4%150 us0.1%
LiskDAO::establishConnection187,915 us6.3%151 us0.1%
PhabricatorAuthSessionEngine::loadUserForSession17,674 us6.1%96 us0.1%
PhabricatorApplicationTransactionEditor::expandSupportTransactions17,644 us6.1%26 us0.0%
PhabricatorMarkupEngine::getEngine17,494 us6.0%10 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,483 us5.9%279 us0.2%
pht1,0557,375 us5.9%2,385 us1.9%
PhabricatorLiskDAO::establishLiveConnection87,338 us5.8%62 us0.0%
PhabricatorLiskDAO::newClusterConnection87,212 us5.7%56 us0.0%
PhabricatorDatabaseRef::isReachable86,639 us5.3%50 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection86,570 us5.2%10 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection2516,560 us5.2%14 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection86,546 us5.2%121 us0.1%
PhabricatorPolicyFilter::applyApplicationChecks76,422 us5.1%37 us0.0%
PhabricatorPolicyFilter::loadCustomPolicies16,402 us5.1%62 us0.0%
LiskDAO::update16,298 us5.0%45 us0.0%
AphrontMySQLiDatabaseConnection::connect86,293 us5.0%205 us0.2%
PhabricatorPolicyFilter::getApplicationForPHID76,051 us4.8%32 us0.0%
PhabricatorPHIDType::getTypes35,982 us4.8%31 us0.0%
PhabricatorCachedClassMapQuery::loadClasses35,872 us4.7%44 us0.0%
PhabricatorApplicationTransactionEditor::applyCapabilityChecks15,759 us4.6%33 us0.0%
PhabricatorCachedClassMapQuery::newObjectMap15,381 us4.3%207 us0.2%
LiskDAO::openTransaction15,242 us4.2%5 us0.0%
mysqli::real_connect85,207 us4.1%5,207 us4.1%
LiskDAO::loadNextCounterValue14,703 us3.7%5 us0.0%
LiskDAO::saveTransaction14,431 us3.5%3 us0.0%
AphrontDatabaseConnection::saveTransaction14,417 us3.5%7 us0.0%
AphrontDatabaseConnection::openTransaction14,411 us3.5%11 us0.0%
AphrontRequest::isFormPost14,327 us3.4%9 us0.0%
LiskDAO::loadRawDataWhere44,273 us3.4%63 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,855 us3.1%27 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,850 us3.1%2 us0.0%
PhutilTranslator::translate1,0553,757 us3.0%3,480 us2.8%
PhabricatorSpacesNamespaceQuery::loadPage13,603 us2.9%7 us0.0%
AphrontApplicationConfiguration::buildController13,522 us2.8%89 us0.1%
queryfx_one23,329 us2.6%17 us0.0%
PhabricatorProjectsBasePolicyRule::willApplyRules13,316 us2.6%27 us0.0%
PhutilOpaqueEnvelope::__construct123,228 us2.6%33 us0.0%
LiskDAO::loadAllWhere23,192 us2.5%13 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery173,192 us2.5%267 us0.2%
PhabricatorUser::newCSRFEngine83,160 us2.5%121 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause43,101 us2.5%14 us0.0%
PhabricatorPolicyFilter::checkCapability72,974 us2.4%80 us0.1%
PhabricatorPolicyQuery::loadPage12,873 us2.3%29 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey32,762 us2.2%9 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts42,760 us2.2%32 us0.0%