XHProf Profile
Symbol | Count | Wall Time (Inclusive) | % | Wall Time (Exclusive) | % |
---|---|---|---|---|---|
Total | 4,478,770 | 101,334,278 us | 100.0% | 101,334,278 us | 100.0% |
main() | 1 | 101,334,278 us | 100.0% | 499 us | 0.0% |
ArcanistUnitWorkflow::run | 1 | 101,227,087 us | 99.9% | 206 us | 0.0% |
PhutilUnitTestEngine::run | 1 | 101,220,361 us | 99.9% | 202 us | 0.0% |
ArcanistPhutilTestCase::run | 4 | 80,413,441 us | 79.4% | 1,039 us | 0.0% |
call_user_func_array | 1,013 | 72,786,361 us | 71.8% | 13,110 us | 0.0% |
PhutilLibraryTestCase::testMethodVisibility | 1 | 64,889,578 us | 64.0% | 2,853,133 us | 2.8% |
PhutilLibraryTestCase::getVisibility | 286,346 | 55,829,461 us | 55.1% | 55,246,029 us | 54.5% |
PhabricatorTestCase::willRunTestCases | 3 | 20,800,307 us | 20.5% | 158 us | 0.0% |
Future::resolve | 8 | 20,797,041 us | 20.5% | 2,307 us | 0.0% |
ExecFuture::resolvex | 4 | 20,722,486 us | 20.4% | 405 us | 0.0% |
Future::waitForSockets | 71 | 20,668,785 us | 20.4% | 5,619 us | 0.0% |
stream_select | 71 | 20,663,142 us | 20.4% | 20,663,142 us | 20.4% |
PhabricatorTestCase::newStorageFixture | 1 | 20,604,578 us | 20.3% | 27 us | 0.0% |
PhabricatorStorageFixtureScopeGuard::__construct | 1 | 20,603,650 us | 20.3% | 21 us | 0.0% |
execx | 1 | 20,603,593 us | 20.3% | 21 us | 0.0% |
ArcanistPhutilTestCase::passTest | 7 | 7,675,663 us | 7.6% | 1,215 us | 0.0% |
ArcanistPhutilTestCase::resultTest | 7 | 7,668,863 us | 7.6% | 1,726 us | 0.0% |
ArcanistPhutilTestCase::endCoverage | 7 | 7,664,409 us | 7.6% | 5,068,509 us | 5.0% |
PhabricatorCelerityTestCase::testCelerityMaps | 1 | 5,081,183 us | 5.0% | 1,780 us | 0.0% |
CelerityResourceMapGenerator::generate | 1 | 5,069,304 us | 5.0% | 2,320 us | 0.0% |
spl_autoload_call | 3,135 | 4,828,408 us | 4.8% | 10,705 us | 0.0% |
__phutil_autoload | 3,135 | 4,819,487 us | 4.8% | 274,199 us | 0.3% |
PhutilSymbolLoader::selectAndLoadSymbols | 3,148 | 4,720,214 us | 4.7% | 377,832 us | 0.4% |
ReflectionClass::__construct | 4,155 | 4,709,293 us | 4.6% | 17,846 us | 0.0% |
PhutilSymbolLoader::loadSymbol | 6,874 | 3,330,545 us | 3.3% | 681,919 us | 0.7% |
CelerityResourceMapGenerator::detectGraphCycles | 1 | 3,070,703 us | 3.0% | 1,444 us | 0.0% |
AbstractDirectedGraph::detectCycles | 195 | 3,066,829 us | 3.0% | 23,673 us | 0.0% |
AbstractDirectedGraph::performCycleDetection | 25,649 | 2,579,407 us | 2.5% | 3,043,156 us | 3.0% |
PhutilBootloader::loadLibrarySource | 3,296 | 2,455,941 us | 2.4% | 240,534 us | 0.2% |
PhutilBootloader::executeInclude | 3,299 | 2,060,620 us | 2.0% | 397,785 us | 0.4% |
idx | 2,616,147 | 1,938,536 us | 1.9% | 1,936,710 us | 1.9% |
CelerityResourceMapGenerator::rebuildTextResources | 1 | 1,712,761 us | 1.7% | 10,015 us | 0.0% |
PhutilLibraryTestCase::testLibraryMap | 1 | 1,637,191 us | 1.6% | 10,621 us | 0.0% |
PhutilLibraryMapBuilder::buildMap | 1 | 1,617,170 us | 1.6% | 125 us | 0.0% |
PhutilLibraryMapBuilder::analyzeLibrary | 1 | 1,617,045 us | 1.6% | 11,494 us | 0.0% |
PhutilLibraryMapBuilder::loadSourceFileMap | 1 | 1,428,844 us | 1.4% | 52,805 us | 0.1% |
Filesystem::readablePath | 3,669 | 1,344,204 us | 1.3% | 478,492 us | 0.5% |
Filesystem::resolvePath | 4,054 | 959,834 us | 0.9% | 489,669 us | 0.5% |
???_op | 3,301 | 859,578 us | 0.8% | 273,839 us | 0.3% |
PhutilBootloader::getLibraryMap | 9,429 | 679,665 us | 0.7% | 663,101 us | 0.7% |
PhabricatorConduitTestCase::testConduitMethods | 1 | 620,644 us | 0.6% | 2,544 us | 0.0% |
CelerityResourcesOnDisk::getResourceData | 354 | 611,468 us | 0.6% | 42,951 us | 0.0% |
xdebug_get_code_coverage | 7 | 542,905 us | 0.5% | 542,905 us | 0.5% |
ConduitCall::__construct | 134 | 537,329 us | 0.5% | 29,391 us | 0.0% |
PhutilBootloader::getInstance | 6,826 | 478,545 us | 0.5% | 478,545 us | 0.5% |
ReflectionMethod::isPrivate | 286,346 | 459,132 us | 0.5% | 459,132 us | 0.5% |
phutil_is_windows | 4,135 | 455,799 us | 0.4% | 455,799 us | 0.4% |
ReflectionClass::getMethod | 138,207 | 401,442 us | 0.4% | 401,442 us | 0.4% |
PhutilLibraryTestCase::testEverythingImplemented | 1 | 396,137 us | 0.4% | 618 us | 0.0% |
CelerityResourceTransformer::transformResource | 354 | 339,178 us | 0.3% | 49,683 us | 0.0% |
FileFinder::find | 4 | 326,080 us | 0.3% | 41,308 us | 0.0% |
Filesystem::readFile | 358 | 321,184 us | 0.3% | 45,322 us | 0.0% |
array_merge | 148,146 | 313,106 us | 0.3% | 313,106 us | 0.3% |
CelerityResources::getCelerityHash | 845 | 312,299 us | 0.3% | 104,440 us | 0.1% |
CelerityResourcesOnDisk::findResourcesWithSuffixes | 2 | 307,683 us | 0.3% | 3,031 us | 0.0% |
ConduitCall::buildMethodHandler | 134 | 304,463 us | 0.3% | 24,283 us | 0.0% |
ReflectionFunctionAbstract::getName | 148,290 | 292,072 us | 0.3% | 292,072 us | 0.3% |
CelerityResourceMapGenerator::getProvidesAndRequires | 354 | 287,626 us | 0.3% | 52,975 us | 0.1% |
ReflectionClass::hasMethod | 176,613 | 284,654 us | 0.3% | 284,654 us | 0.3% |
PhutilBootloader::getLibraryRoot | 3,681 | 259,165 us | 0.3% | 259,165 us | 0.3% |
CelerityResourcesOnDisk::getPathToResource | 354 | 249,885 us | 0.2% | 40,881 us | 0.0% |
PhutilBootloader::getAllLibraries | 3,148 | 227,085 us | 0.2% | 220,347 us | 0.2% |
PhutilSymbolLoader::setType | 3,144 | 222,885 us | 0.2% | 222,885 us | 0.2% |
PhutilSymbolLoader::setName | 3,135 | 217,237 us | 0.2% | 217,237 us | 0.2% |
CelerityPhabricatorResources::getPathToResources | 356 | 210,220 us | 0.2% | 42,072 us | 0.0% |
CelerityResourcesOnDisk::findTextResources | 1 | 202,546 us | 0.2% | 139 us | 0.0% |
init_phabricator_script | 1 | 195,357 us | 0.2% | 62 us | 0.0% |
PhabricatorEnv::initializeScriptEnvironment | 1 | 192,993 us | 0.2% | 41 us | 0.0% |
array_keys | 25,334 | 192,787 us | 0.2% | 192,787 us | 0.2% |
PhabricatorEnv::initializeCommonEnvironment | 1 | 191,843 us | 0.2% | 91 us | 0.0% |
PhutilSymbolLoader::loadObjects | 7 | 186,846 us | 0.2% | 2,004 us | 0.0% |
CelerityResourceMapGenerator::rebuildBinaryResources | 1 | 183,035 us | 0.2% | 1,433 us | 0.0% |
ReflectionClass::getMethods | 3,184 | 181,494 us | 0.2% | 181,494 us | 0.2% |
PhabricatorEnv::getEnvConfig | 1,251 | 177,115 us | 0.2% | 147,756 us | 0.1% |
CelerityPhabricatorResources::getPhabricatorPath | 358 | 169,180 us | 0.2% | 42,864 us | 0.0% |
CelerityResourceTransformer::replaceCSSVariables | 142 | 155,083 us | 0.2% | 18,915 us | 0.0% |
preg_replace_callback | 440 | 149,816 us | 0.1% | 9,134 us | 0.0% |
PhabricatorEnv::buildConfigurationSourceStack | 1 | 148,011 us | 0.1% | 155 us | 0.0% |
CelerityResourceTransformer::replaceCSSVariable | 1,053 | 130,110 us | 0.1% | 129,916 us | 0.1% |
PhabricatorConfigDefaultSource::__construct | 1 | 127,621 us | 0.1% | 356 us | 0.0% |
CelerityResourceTransformer::getResourceType | 519 | 127,468 us | 0.1% | 63,118 us | 0.1% |
phutil_get_library_root | 368 | 125,994 us | 0.1% | 41,816 us | 0.0% |
PhabricatorApplicationConfigOptions::loadAllOptions | 2 | 125,974 us | 0.1% | 1,099 us | 0.0% |
ReflectionMethod::isProtected | 268,714 | 124,300 us | 0.1% | 124,300 us | 0.1% |
ConduitAPIMethod::getConduitMethod | 134 | 124,033 us | 0.1% | 28,406 us | 0.0% |
PhabricatorApplication::isInstalled | 254 | 114,572 us | 0.1% | 32,518 us | 0.0% |
PhabricatorHash::digest | 845 | 108,062 us | 0.1% | 101,270 us | 0.1% |
CelerityResourcesOnDisk::findBinaryResources | 1 | 105,642 us | 0.1% | 137 us | 0.0% |
ExecFuture::isReady | 79 | 101,898 us | 0.1% | 11,051 us | 0.0% |
PhutilDocblockParser::parse | 354 | 95,571 us | 0.1% | 81,094 us | 0.1% |
ConduitAPIMethod::getParameterMetadataKey | 507 | 95,115 us | 0.1% | 94,014 us | 0.1% |
CelerityResourceMapGenerator::rebuildPackages | 1 | 92,097 us | 0.1% | 1,980 us | 0.0% |
ConduitAPIMethod::getParamTypes | 134 | 85,525 us | 0.1% | 23,552 us | 0.0% |
Filesystem::assertExists | 360 | 84,899 us | 0.1% | 42,118 us | 0.0% |
newv | 437 | 82,527 us | 0.1% | 34,622 us | 0.0% |
exec_manual | 4 | 80,874 us | 0.1% | 588 us | 0.0% |
PhabricatorInfrastructureTestCase::testRejectMySQLNonUTF8Queries | 1 | 72,659 us | 0.1% | 839 us | 0.0% |
md5_file | 3,668 | 70,699 us | 0.1% | 70,699 us | 0.1% |
PhutilLibraryMapBuilder::loadSymbolCache | 1 | 65,117 us | 0.1% | 368 us | 0.0% |
CelerityResources::getResourceType | 165 | 64,666 us | 0.1% | 21,599 us | 0.0% |