XHProf Filesystem::resolvePath Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
Filesystem::resolvePath | 684,304 | 15,133,263 us | 100.0% |
Parent Calls | |||
Filesystem::readFile | 5,529 | 134,785 us | |
Filesystem::walkToRoot | 2 | 24 us | |
FileList::__construct | 1 | 9 us | |
FileList::contains | 1 | 10 us | |
ArcanistWorkingCopyIdentity::readLocalArcConfig | 1 | 46 us | |
arcanist_load_libraries | 1 | 15 us | |
Filesystem::listDirectory | 1 | 22 us | |
ArcanistLintEngine::getFilePathOnDisk | 143,697 | 6,275,900 us | |
ArcanistLinter::addLintMessage | 941 | 221,384 us | |
Filesystem::readablePath | 533,725 | 8,468,244 us | |
ArcanistSpellingLinter::loadDictionary | 1 | 45 us | |
Filesystem::assertWritableFile | 402 | 31,048 us | |
ArcanistRepositoryAPI::getScratchFilePath | 2 | 1,731 us | |
Child Calls | |||
Filesystem::isAbsolutePath | 684,304 | 4,440,123 us | 29.3% |
is_link | 684,304 | 3,892,298 us | 25.7% |
realpath | 684,306 | 2,324,788 us | 15.4% |
basename | 748 | 4,419 us | 0.0% |
dirname | 748 | 1,012 us | 0.0% |
explode | 2 | 24 us | 0.0% |
implode | 2 | 5 us | 0.0% |
trim | 2 | 3 us | 0.0% |
end | 2 | 2 us | 0.0% |
phutil_is_windows | 2 | 1 us | 0.0% |
array_pop | 2 | 1 us | 0.0% |
strlen | 2 | 0 us | |
substr | 2 | 0 us |