XHProf Profile
Symbol | Count | Wall Time (Inclusive) | % | Wall Time (Exclusive) | % |
---|---|---|---|---|---|
Total | 4,017,083 | 71,659,915 us | 100.0% | 71,659,915 us | 100.0% |
main() | 1 | 71,659,915 us | 100.0% | 276 us | 0.0% |
ArcanistUnitWorkflow::run | 1 | 71,622,122 us | 99.9% | 325 us | 0.0% |
PhutilUnitTestEngine::run | 1 | 71,618,806 us | 99.9% | 216 us | 0.0% |
ArcanistPhutilTestCase::run | 4 | 49,633,917 us | 69.3% | 1,401 us | 0.0% |
call_user_func_array | 1,013 | 41,073,639 us | 57.3% | 6,293 us | 0.0% |
PhutilLibraryTestCase::testMethodVisibility | 1 | 22,756,777 us | 31.8% | 1,717,415 us | 2.4% |
Future::resolve | 8 | 22,145,991 us | 30.9% | 2,887 us | 0.0% |
ExecFuture::resolvex | 4 | 22,037,936 us | 30.8% | 376 us | 0.0% |
PhabricatorTestCase::willRunTestCases | 3 | 21,982,134 us | 30.7% | 84 us | 0.0% |
Future::waitForSockets | 73 | 21,978,126 us | 30.7% | 6,211 us | 0.0% |
stream_select | 73 | 21,971,904 us | 30.7% | 21,971,904 us | 30.7% |
PhabricatorTestCase::newStorageFixture | 1 | 21,902,295 us | 30.6% | 19 us | 0.0% |
PhabricatorStorageFixtureScopeGuard::__construct | 1 | 21,901,959 us | 30.6% | 25 us | 0.0% |
execx | 1 | 21,901,900 us | 30.6% | 35 us | 0.0% |
PhutilLibraryTestCase::compareVisibility | 138,208 | 20,088,548 us | 28.0% | 19,927,137 us | 27.8% |
ArcanistPhutilTestCase::passTest | 7 | 8,574,886 us | 12.0% | 1,841 us | 0.0% |
ArcanistPhutilTestCase::resultTest | 7 | 8,567,004 us | 12.0% | 2,244 us | 0.0% |
ArcanistPhutilTestCase::endCoverage | 7 | 8,561,361 us | 11.9% | 5,433,262 us | 7.6% |
PhabricatorCelerityTestCase::testCelerityMaps | 1 | 8,110,400 us | 11.3% | 4,021 us | 0.0% |
CelerityResourceMapGenerator::generate | 1 | 8,088,278 us | 11.3% | 3,294 us | 0.0% |
PhutilSymbolLoader::selectAndLoadSymbols | 458 | 6,281,497 us | 8.8% | 123,254 us | 0.2% |
PhutilSymbolLoader::loadSymbol | 4,184 | 6,182,555 us | 8.6% | 772,172 us | 1.1% |
PhutilLibraryTestCase::testEverythingImplemented | 1 | 6,182,293 us | 8.6% | 125,274 us | 0.2% |
PhutilBootloader::loadLibrarySource | 3,296 | 4,952,250 us | 6.9% | 554,462 us | 0.8% |
CelerityResourceMapGenerator::detectGraphCycles | 1 | 4,502,582 us | 6.3% | 1,767 us | 0.0% |
AbstractDirectedGraph::detectCycles | 195 | 4,498,166 us | 6.3% | 35,628 us | 0.0% |
PhutilBootloader::executeInclude | 3,299 | 3,967,846 us | 5.5% | 788,448 us | 1.1% |
AbstractDirectedGraph::performCycleDetection | 25,649 | 3,767,644 us | 5.3% | 4,462,538 us | 6.2% |
PhutilLibraryTestCase::testLibraryMap | 1 | 3,226,165 us | 4.5% | 30,026 us | 0.0% |
PhutilLibraryMapBuilder::buildMap | 1 | 3,183,039 us | 4.4% | 142 us | 0.0% |
PhutilLibraryMapBuilder::analyzeLibrary | 1 | 3,182,897 us | 4.4% | 19,088 us | 0.0% |
CelerityResourceMapGenerator::rebuildTextResources | 1 | 3,106,793 us | 4.3% | 14,858 us | 0.0% |
PhutilLibraryMapBuilder::loadSourceFileMap | 1 | 2,696,210 us | 3.8% | 89,485 us | 0.1% |
Filesystem::readablePath | 3,669 | 2,663,194 us | 3.7% | 914,503 us | 1.3% |
idx | 2,616,147 | 2,462,023 us | 3.4% | 2,461,872 us | 3.4% |
Filesystem::resolvePath | 4,054 | 1,909,930 us | 2.7% | 959,974 us | 1.3% |
???_op | 3,301 | 1,449,396 us | 2.0% | 571,177 us | 0.8% |
CelerityResourcesOnDisk::getResourceData | 354 | 1,139,179 us | 1.6% | 79,601 us | 0.1% |
spl_autoload_call | 445 | 918,051 us | 1.3% | 3,020 us | 0.0% |
phutil_is_windows | 4,135 | 916,603 us | 1.3% | 916,603 us | 1.3% |
__phutil_autoload | 445 | 915,457 us | 1.3% | 51,225 us | 0.1% |
PhabricatorConduitTestCase::testConduitMethods | 1 | 698,949 us | 1.0% | 3,163 us | 0.0% |
PhutilBootloader::getInstance | 4,136 | 642,712 us | 0.9% | 642,712 us | 0.9% |
xdebug_get_code_coverage | 7 | 638,514 us | 0.9% | 638,514 us | 0.9% |
CelerityResourceTransformer::transformResource | 354 | 614,651 us | 0.9% | 96,024 us | 0.1% |
PhutilBootloader::getLibraryRoot | 3,681 | 601,056 us | 0.8% | 601,056 us | 0.8% |
Filesystem::readFile | 358 | 598,598 us | 0.8% | 88,558 us | 0.1% |
ConduitCall::__construct | 134 | 587,954 us | 0.8% | 29,983 us | 0.0% |
CelerityResources::getCelerityHash | 845 | 570,431 us | 0.8% | 191,319 us | 0.3% |
CelerityResourceMapGenerator::getProvidesAndRequires | 354 | 525,555 us | 0.7% | 91,774 us | 0.1% |
CelerityResourcesOnDisk::getPathToResource | 354 | 465,796 us | 0.7% | 84,983 us | 0.1% |
CelerityResourcesOnDisk::findResourcesWithSuffixes | 2 | 429,787 us | 0.6% | 4,572 us | 0.0% |
CelerityPhabricatorResources::getPathToResources | 356 | 382,592 us | 0.5% | 76,907 us | 0.1% |
ConduitCall::buildMethodHandler | 134 | 375,896 us | 0.5% | 25,127 us | 0.0% |
FileFinder::find | 4 | 343,570 us | 0.5% | 35,369 us | 0.0% |
CelerityResourcesOnDisk::findTextResources | 1 | 321,854 us | 0.4% | 202 us | 0.0% |
CelerityPhabricatorResources::getPhabricatorPath | 358 | 307,418 us | 0.4% | 77,711 us | 0.1% |
CelerityResourceTransformer::replaceCSSVariables | 142 | 273,384 us | 0.4% | 32,481 us | 0.0% |
preg_replace_callback | 440 | 265,412 us | 0.4% | 12,868 us | 0.0% |
CelerityResourceTransformer::getResourceType | 519 | 260,176 us | 0.4% | 133,252 us | 0.2% |
PhabricatorEnv::getEnvConfig | 1,251 | 249,139 us | 0.3% | 225,959 us | 0.3% |
CelerityResourceTransformer::replaceCSSVariable | 1,053 | 232,613 us | 0.3% | 232,327 us | 0.3% |
CelerityResourceMapGenerator::rebuildPackages | 1 | 229,045 us | 0.3% | 4,505 us | 0.0% |
phutil_get_library_root | 368 | 228,643 us | 0.3% | 75,208 us | 0.1% |
ReflectionClass::getMethod | 138,208 | 223,340 us | 0.3% | 223,340 us | 0.3% |
CelerityResourceMapGenerator::rebuildBinaryResources | 1 | 222,988 us | 0.3% | 2,388 us | 0.0% |
PhutilSymbolLoader::loadObjects | 7 | 207,369 us | 0.3% | 2,675 us | 0.0% |
array_keys | 22,644 | 207,344 us | 0.3% | 207,344 us | 0.3% |
ReflectionFunctionAbstract::getName | 148,292 | 205,498 us | 0.3% | 205,498 us | 0.3% |
PhabricatorHash::digest | 845 | 195,317 us | 0.3% | 183,736 us | 0.3% |
PhutilLibraryMapBuilder::loadSymbolCache | 1 | 188,338 us | 0.3% | 668 us | 0.0% |
array_merge | 148,147 | 188,298 us | 0.3% | 188,298 us | 0.3% |
json_decode | 5 | 181,343 us | 0.3% | 181,343 us | 0.3% |
ConduitAPIMethod::getConduitMethod | 134 | 174,584 us | 0.2% | 29,696 us | 0.0% |
ReflectionClass::hasMethod | 176,614 | 163,873 us | 0.2% | 163,873 us | 0.2% |
ReflectionMethod::getModifiers | 276,416 | 161,411 us | 0.2% | 161,411 us | 0.2% |
CelerityResources::getResourceType | 165 | 159,546 us | 0.2% | 52,690 us | 0.1% |
Filesystem::assertExists | 360 | 156,683 us | 0.2% | 78,884 us | 0.1% |
PhutilDocblockParser::parse | 354 | 154,779 us | 0.2% | 130,526 us | 0.2% |
PhutilBootloader::getLibraryMap | 1,359 | 137,910 us | 0.2% | 132,084 us | 0.2% |
ExecFuture::isReady | 81 | 136,547 us | 0.2% | 14,100 us | 0.0% |
PhutilLibraryMapBuilder::buildLibraryMap | 1 | 134,074 us | 0.2% | 110,084 us | 0.2% |
last | 519 | 124,525 us | 0.2% | 123,070 us | 0.2% |
exec_manual | 4 | 118,580 us | 0.2% | 948 us | 0.0% |
PhabricatorApplication::isInstalled | 254 | 116,967 us | 0.2% | 33,627 us | 0.0% |
ReflectionClass::getMethods | 3,184 | 116,117 us | 0.2% | 116,117 us | 0.2% |
CelerityResourcesOnDisk::findBinaryResources | 1 | 108,504 us | 0.2% | 121 us | 0.0% |
newv | 437 | 98,646 us | 0.1% | 42,617 us | 0.1% |
PhutilLibraryMapBuilder::writeSymbolCache | 1 | 89,933 us | 0.1% | 12,019 us | 0.0% |
Filesystem::assertReadable | 359 | 83,122 us | 0.1% | 79,358 us | 0.1% |
ConduitAPIMethod::getParamTypes | 134 | 80,289 us | 0.1% | 22,297 us | 0.0% |
Filesystem::pathExists | 399 | 80,050 us | 0.1% | 75,301 us | 0.1% |
init_phabricator_script | 1 | 79,668 us | 0.1% | 27 us | 0.0% |
ConduitAPIMethod::getParameterMetadataKey | 507 | 79,341 us | 0.1% | 78,330 us | 0.1% |
PhabricatorEnv::initializeScriptEnvironment | 1 | 78,777 us | 0.1% | 21 us | 0.0% |
PhabricatorEnv::initializeCommonEnvironment | 1 | 78,271 us | 0.1% | 48 us | 0.0% |
Filesystem::binaryExists | 3 | 77,850 us | 0.1% | 424 us | 0.0% |
Filesystem::resolveBinary | 3 | 77,426 us | 0.1% | 784 us | 0.0% |
Filesystem::assertIsFile | 358 | 77,289 us | 0.1% | 73,536 us | 0.1% |
head | 342 | 76,445 us | 0.1% | 75,647 us | 0.1% |