XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total88,114128,460 us100.0%128,460 us100.0%
main()1128,460 us100.0%45 us0.0%
AphrontApplicationConfiguration::processRequest1127,399 us99.2%39 us0.0%
PhabricatorSearchController::processRequest1109,448 us85.2%40 us0.0%
AphrontController::delegateToController1103,614 us80.7%12 us0.0%
AphrontController::handleRequest2103,602 us80.6%7 us0.0%
PhabricatorApplicationSearchController::processRequest1103,598 us80.6%12 us0.0%
PhabricatorApplicationSearchController::processSearchRequest1103,573 us80.6%98 us0.1%
PhabricatorController::buildApplicationPage197,943 us76.2%43 us0.0%
PhabricatorController::buildPageResponse197,637 us76.0%10 us0.0%
AphrontPageView::render197,455 us75.9%22 us0.0%
PhabricatorStandardPageView::willRenderPage192,263 us71.8%84 us0.1%
phutil_escape_html1,19375,138 us58.5%2,192 us1.7%
phutil_tag25174,608 us58.1%1,947 us1.5%
AphrontView::producePhutilSafeHTML6771,132 us55.4%77 us0.1%
phutil_implode_html470,885 us55.2%26 us0.0%
PhabricatorBarePageView::willRenderPage170,840 us55.1%5 us0.0%
AphrontSideNavFilterView::render170,812 us55.1%17 us0.0%
AphrontSideNavFilterView::renderFlexNav169,824 us54.4%35 us0.0%
AphrontFormView::render168,344 us53.2%10 us0.0%
PHUIFormLayoutView::render167,803 us52.8%9 us0.0%
AphrontFormControl::render867,700 us52.7%205 us0.2%
AphrontFormTokenizerControl::renderInput566,937 us52.1%199 us0.2%
PhabricatorSearchDocumentTypeDatasource::renderTokens161,261 us47.7%7 us0.0%
PhabricatorSearchDocumentTypeDatasource::buildResults161,253 us47.7%77 us0.1%
PhabricatorSearchApplicationSearchEngine::getIndexableDocumentTypes160,341 us47.0%2,325 us1.8%
PhabricatorSearchDocumentIndexer::shouldIndexDocumentByPHID1,19056,687 us44.1%5,783 us4.5%
PhabricatorPHID::generateNewPHID1,19038,209 us29.7%1,812 us1.4%
Filesystem::readRandomCharacters1,19136,423 us28.4%28,675 us22.3%
PhabricatorPolicyAwareQuery::execute3031,482 us24.5%759 us0.6%
PhabricatorPolicyFilter::apply4121,623 us16.8%1,885 us1.5%
PhabricatorMainMenuView::render120,689 us16.1%217 us0.2%
PhabricatorController::willBeginExecution116,307 us12.7%146 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols17915,748 us12.3%3,890 us3.0%
PhutilSymbolLoader::loadSymbol40012,180 us9.5%1,974 us1.5%
spl_autoload_call16710,620 us8.3%252 us0.2%
PhutilBootloader::loadLibrarySource36110,489 us8.2%981 us0.8%
__phutil_autoload16710,429 us8.1%842 us0.7%
PhabricatorSpacesNamespaceQuery::getViewerSpaces110,422 us8.1%23 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows610,403 us8.1%116 us0.1%
PhabricatorHomeApplication::loadAllQuickCreateItems210,360 us8.1%210 us0.2%
PhutilBootloader::executeInclude3619,657 us7.5%2,765 us2.2%
PhabricatorPolicyFilter::loadCustomPolicies19,045 us7.0%61 us0.0%
PhabricatorMainMenuView::renderApplicationMenu18,110 us6.3%132 us0.1%
phid_get_type2,5467,318 us5.7%4,115 us3.2%
PhabricatorProjectQuery::loadPage47,199 us5.6%28 us0.0%
queryfx166,877 us5.4%76 us0.1%
PhutilSymbolLoader::loadObjects116,672 us5.2%285 us0.2%
PhabricatorHomeApplication::buildMainMenuExtraNodes16,279 us4.9%23 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause66,229 us4.8%24 us0.0%
PhabricatorPolicyFilter::checkCapability1606,068 us4.7%1,150 us0.9%
qsprintf815,882 us4.6%303 us0.2%
PhutilClassMapQuery::execute1605,776 us4.5%250 us0.2%
xsprintf825,560 us4.3%980 us0.8%
PhutilClassMapQuery::loadMap45,291 us4.1%281 us0.2%
Filesystem::readRandomBytes1,1915,169 us4.0%2,658 us2.1%
PhabricatorHomeApplication::buildMainMenuItems15,010 us3.9%42 us0.0%
PhabricatorProjectsPolicyRule::willApplyRules14,939 us3.8%29 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts64,776 us3.7%28 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery164,745 us3.7%270 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause64,626 us3.6%100 us0.1%
PhabricatorProjectQuery::buildJoinClauseParts44,447 us3.5%55 us0.0%
queryfx_all154,419 us3.4%69 us0.1%
AphrontTagView::render534,404 us3.4%841 us0.7%
xsprintf_query1684,358 us3.4%796 us0.6%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns304,264 us3.3%164 us0.1%
javelin_tag1163,885 us3.0%420 us0.3%
PhabricatorCustomField::getObjectFields23,852 us3.0%112 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery163,663 us2.9%85 us0.1%
PhabricatorApplicationSearchEngine::saveQuery13,662 us2.9%19 us0.0%
mysqli::query163,578 us2.8%3,578 us2.8%
PhabricatorTypeaheadDatasource::getBrowseURI53,571 us2.8%44 us0.0%
PhabricatorSavedQuery::save13,509 us2.7%15 us0.0%
preg_match3,0183,498 us2.7%3,498 us2.7%
LiskDAO::save13,448 us2.7%3 us0.0%
PhabricatorJumpNavHandler::getJumpResponse13,412 us2.7%37 us0.0%
PhabricatorTypeaheadCompositeDatasource::getUsableDatasources63,369 us2.6%234 us0.2%
LiskDAO::insert13,362 us2.6%4 us0.0%
LiskDAO::insertRecordIntoDatabase13,358 us2.6%40 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey1543,348 us2.6%301 us0.2%
PhabricatorObjectQuery::loadPage23,284 us2.6%23 us0.0%
PhabricatorPolicyFilter::getObjectPolicy3203,228 us2.5%404 us0.3%
AphrontMySQLiDatabaseConnection::escapeUTF8String303,121 us2.4%80 us0.1%
AphrontBaseMySQLDatabaseConnection::requireConnection623,050 us2.4%18 us0.0%
PhabricatorApplication::isClassInstalledForViewer153,047 us2.4%116 us0.1%
PhabricatorPolicyCapability::getCapabilityMap1543,045 us2.4%613 us0.5%
AphrontBaseMySQLDatabaseConnection::establishConnection83,032 us2.4%133 us0.1%
PhabricatorPHIDType::getAllTypes43,027 us2.4%26 us0.0%
AphlictDropdownDataQuery::execute22,993 us2.3%79 us0.1%
PhabricatorCustomField::buildFieldList22,964 us2.3%114 us0.1%
PHUIListItemView::getTagContent202,952 us2.3%227 us0.2%
ConpherenceThread::generatePHID852,938 us2.3%86 us0.1%
PhabricatorProjectQuery::getOrderableColumns162,894 us2.3%64 us0.0%
PhabricatorCalendarEvent::generatePHID852,885 us2.2%88 us0.1%
AphrontMySQLiDatabaseConnection::escapeBinaryString302,861 us2.2%80 us0.1%
PholioMock::generatePHID852,836 us2.2%68 us0.1%
PhabricatorUser::generatePHID852,833 us2.2%85 us0.1%
PassphraseCredential::generatePHID852,827 us2.2%89 us0.1%
PhrictionDocument::generatePHID852,827 us2.2%84 us0.1%
PhabricatorRepositoryCommit::generatePHID852,807 us2.2%87 us0.1%
PhabricatorProject::generatePHID852,798 us2.2%82 us0.1%