XHProf Filesystem::resolvePath Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
Filesystem::resolvePath | 684,304 | 13,995,274 us | 100.0% |
Parent Calls | |||
Filesystem::readFile | 5,529 | 193,321 us | |
Filesystem::walkToRoot | 2 | 63 us | |
FileList::__construct | 1 | 16 us | |
FileList::contains | 1 | 18 us | |
ArcanistWorkingCopyIdentity::readLocalArcConfig | 1 | 478 us | |
arcanist_load_libraries | 1 | 67 us | |
Filesystem::listDirectory | 1 | 28 us | |
ArcanistLintEngine::getFilePathOnDisk | 143,697 | 6,458,596 us | |
ArcanistLinter::addLintMessage | 941 | 54,921 us | |
Filesystem::readablePath | 533,725 | 7,237,161 us | |
ArcanistSpellingLinter::loadDictionary | 1 | 79 us | |
Filesystem::assertWritableFile | 402 | 50,204 us | |
ArcanistRepositoryAPI::getScratchFilePath | 2 | 322 us | |
Child Calls | |||
Filesystem::isAbsolutePath | 684,304 | 4,541,719 us | 32.5% |
realpath | 684,306 | 2,807,539 us | 20.1% |
is_link | 684,304 | 2,130,020 us | 15.2% |
basename | 748 | 5,943 us | 0.0% |
dirname | 748 | 1,432 us | 0.0% |
explode | 2 | 21 us | 0.0% |
implode | 2 | 4 us | 0.0% |
phutil_is_windows | 2 | 3 us | 0.0% |
trim | 2 | 3 us | 0.0% |
end | 2 | 2 us | 0.0% |
array_pop | 2 | 2 us | 0.0% |
strlen | 2 | 1 us | 0.0% |
substr | 2 | 1 us | 0.0% |