XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total34,621,080155,577,188 us100.0%155,577,188 us100.0%
main()1155,577,188 us100.0%34 us0.0%
PhutilArgumentParser::parseWorkflows1155,575,509 us100.0%3 us0.0%
PhutilArgumentParser::parseWorkflowsFull1155,575,506 us100.0%64 us0.0%
PhabricatorCalendarManagementReloadWorkflow::execute1155,575,229 us100.0%122 us0.0%
PhabricatorCalendarICSFileImportEngine::importEventsFromSource1155,561,993 us100.0%903 us0.0%
PhabricatorCalendarICSImportEngine::importICSData1155,528,068 us100.0%218,821 us0.1%
PhabricatorCalendarImportEngine::importEventDocument1141,349,362 us90.9%958,073 us0.6%
PhabricatorApplicationTransactionEditor::applyTransactions1,751100,529,902 us64.6%563,032 us0.4%
LiskDAO::save17,97161,007,598 us39.2%60,216 us0.0%
PhabricatorApplicationTransactionEditor::expandSupportTransactions1,75153,588,265 us34.4%48,738 us0.0%
queryfx30,74851,774,928 us33.3%341,887 us0.2%
call_user_func_array374,52348,413,084 us31.1%870,476 us0.6%
AphrontBaseMySQLDatabaseConnection::executeRawQuery30,74846,365,569 us29.8%716,992 us0.5%
PhabricatorApplicationTransactionEditor::buildSubscribeTransaction1,75144,961,508 us28.9%55,382 us0.0%
PhabricatorMarkupEngine::extractPHIDsFromMentions3,50244,875,949 us28.8%52,062 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery30,74844,620,659 us28.7%294,673 us0.2%
mysqli::query30,74844,319,917 us28.5%44,319,917 us28.5%
AphrontDatabaseConnection::query21,47644,128,796 us28.4%157,002 us0.1%
LiskDAO::update10,94835,294,853 us22.7%909,208 us0.6%
PhabricatorMarkupEngine::newDifferentialMarkupEngine3,50229,380,522 us18.9%20,318 us0.0%
PhabricatorMarkupEngine::newMarkupEngine3,50329,363,677 us18.9%2,546,012 us1.6%
LiskDAO::insert7,02325,468,396 us16.4%30,527 us0.0%
LiskDAO::insertRecordIntoDatabase7,02325,429,480 us16.3%493,311 us0.3%
PhutilRemarkupEngine::markupText5,25322,199,553 us14.3%21,541 us0.0%
PhutilRemarkupEngine::setBlockRules3,50321,513,309 us13.8%6,526,630 us4.2%
PhutilRemarkupEngine::preprocessText5,25319,688,155 us12.7%120,614 us0.1%
PhabricatorWorker::scheduleTask1,75119,521,569 us12.5%52,615 us0.0%
qsprintf210,19918,486,591 us11.9%1,058,652 us0.7%
xsprintf210,20117,322,377 us11.1%7,318,144 us4.7%
PhutilRemarkupEngine::markupBlock10,85516,355,646 us10.5%48,987 us0.0%
PhutilRemarkupBlockRule::applyRules11,31915,572,272 us10.0%1,384,436 us0.9%
PhutilRemarkupDefaultBlockRule::markupText9,79914,602,288 us9.4%150,957 us0.1%
PhabricatorWorkerActiveTask::save1,75114,555,430 us9.4%7,830 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease1,75114,545,689 us9.3%40,749 us0.0%
PhutilRemarkupBlockRule::setEngine42,03614,332,388 us9.2%96,023 us0.1%
PhutilRemarkupBlockRule::updateRules84,07214,315,871 us9.2%4,188,298 us2.7%
PhutilICSParser::parseICSData113,952,235 us9.0%427,849 us0.3%
PhutilICSParser::parseICSProperty46,50312,964,671 us8.3%1,484,446 us1.0%
PhabricatorPolicyAwareQuery::execute2,20010,970,177 us7.1%396,861 us0.3%
msort47,31510,596,943 us6.8%2,084,747 us1.3%
xsprintf_query401,1319,460,916 us6.1%5,218,924 us3.4%
mpull67,1459,263,341 us6.0%8,376,862 us5.4%
PhabricatorApplicationTransactionEditor::applyHeraldRules1,7518,469,847 us5.4%57,375 us0.0%
HeraldEngine::loadAndApplyRules1,7518,368,220 us5.4%24,675 us0.0%
preg_replace_callback837,6087,188,507 us4.6%1,462,291 us0.9%
PhutilICSParser::unescapeFieldValue46,5036,945,067 us4.5%1,711,480 us1.1%
PhabricatorApplicationTransactionEditor::expandRemarkupBlockTransactions1,7516,847,822 us4.4%38,005 us0.0%
PhabricatorObjectRemarkupRule::apply271,6566,455,922 us4.1%1,593,587 us1.0%
PhabricatorCalendarEvent::save1,7516,148,494 us4.0%26,461 us0.0%
HeraldEngine::getTranscript1,7515,962,604 us3.8%5,542 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage3305,504,859 us3.5%54,601 us0.0%
PhabricatorImageMacroRemarkupRule::apply11,3195,415,171 us3.5%19,034 us0.0%
PhabricatorImageMacroRemarkupRule::markupImageMacro5565,366,997 us3.4%79,792 us0.1%
PhabricatorCalendarImport::newLogMessage1,7695,232,321 us3.4%39,750 us0.0%
PhutilTypeSpec::checkMap1,7514,854,247 us3.1%83,531 us0.1%
PhutilTypeSpec::newFromString5,2534,745,482 us3.1%117,636 us0.1%
LiskDAO::loadAllFromArray2,1984,735,498 us3.0%361,776 us0.2%
PhutilICSParser::unescapeTextValue23,3704,674,506 us3.0%2,775,908 us1.8%
LiskDAO::loadNextCounterValue1,7514,513,161 us2.9%12,284 us0.0%
PhabricatorMacroQuery::loadPage1514,479,345 us2.9%1,154 us0.0%
LiskDAO::loadFromArray75,0024,373,628 us2.8%2,083,911 us1.3%
LiskDAO::saveTransaction1,7523,970,569 us2.6%7,677 us0.0%
AphrontDatabaseConnection::saveTransaction1,7523,917,387 us2.5%14,479 us0.0%
PhutilTypeSpec::parseTokens5,2533,893,922 us2.5%2,006,420 us1.3%
queryfx_all5,7683,610,688 us2.3%46,308 us0.0%
PhutilRemarkupEngine::splitTextIntoBlocks5,2553,101,658 us2.0%1,126,551 us0.7%
assert_instances_of82,9113,037,379 us2.0%2,944,696 us1.9%
phutil_utf8v69,2902,871,489 us1.8%2,870,590 us1.8%
PhutilRemarkupBlockRule::setMarkupRules42,0362,791,767 us1.8%156,076 us0.1%
PhabricatorObjectRemarkupRule::getObjectReferencePattern271,6562,671,084 us1.7%1,876,686 us1.2%
PhutilRemarkupEngine::postprocessText5,2532,489,857 us1.6%679,788 us0.4%
idx1,089,0112,388,870 us1.5%2,384,694 us1.5%
PhabricatorLiskDAO::willReadData75,0022,286,882 us1.5%303,314 us0.2%
LiskDAO::__call431,2092,148,160 us1.4%414,338 us0.3%
AphrontMySQLiDatabaseConnection::escapeUTF8String175,3022,141,622 us1.4%502,796 us0.3%
HeraldEngine::loadRulesForAdapter1,7512,136,903 us1.4%51,143 us0.0%
PhutilICSParser::unescapeParameterValue45,9202,122,614 us1.4%1,149,723 us0.7%
PhabricatorApplicationTransactionEditor::validateTransaction42,0241,927,447 us1.2%330,570 us0.2%
HeraldRuleQuery::loadPage1,7511,909,858 us1.2%38,518 us0.0%
PhutilParserGenerator::parseTokensWithTables5,2531,886,429 us1.2%1,668,028 us1.1%
PhabricatorApplication::getAllInstalledApplications3,5031,870,576 us1.2%719,023 us0.5%
LiskDAO::getConfigOption275,8391,829,878 us1.2%642,118 us0.4%
LiskDAO::call431,2091,748,649 us1.1%1,373,821 us0.9%
qsprintf_check_type401,1311,715,913 us1.1%826,742 us0.5%
HeraldTranscript::saveXHeraldRulesHeader1,7511,665,062 us1.1%27,361 us0.0%
PhutilICSParser::didParseEventProperty34,7031,655,139 us1.1%106,565 us0.1%
PhutilRemarkupListBlockRule::markupText8941,578,870 us1.0%84,088 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows3701,515,858 us1.0%8,656 us0.0%
PhabricatorApplicationTransactionEditor::loadSubscribers1,7511,434,895 us0.9%19,035 us0.0%
PhutilRemarkupListBlockRule::renderTree9001,416,007 us0.9%51,337 us0.0%
PhabricatorEdgeQuery::execute1,8011,415,914 us0.9%46,369 us0.0%
PhabricatorSubscribersQuery::loadSubscribersForPHID1,7511,415,133 us0.9%16,762 us0.0%
PhabricatorSubscribersQuery::execute1,7511,396,406 us0.9%33,346 us0.0%
PhabricatorObjectRemarkupRule::didMarkupText126,0721,354,655 us0.9%583,267 us0.4%
PhabricatorObjectRemarkupRule::getObjectEmbedPattern271,6561,319,316 us0.8%1,223,755 us0.8%
PhutilCalendarDateTime::getEpoch18,0521,177,054 us0.8%107,507 us0.1%
PhabricatorCalendarEvent::getStartDateTimeEpoch8,8981,136,207 us0.7%27,985 us0.0%
PhabricatorApplication::isInstalled241,7081,102,305 us0.7%1,036,882 us0.7%
PhutilCalendarAbsoluteDateTime::newPHPDateTime18,0891,056,156 us0.7%309,732 us0.2%
AphrontBaseMySQLDatabaseConnection::validateUTF8String175,302963,999 us0.6%158,872 us0.1%