XHProf Filesystem::resolvePath Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
Filesystem::resolvePath | 263,722 | 3,596,004 us | 100.0% |
Parent Calls | |||
Filesystem::readFile | 837 | 14,238 us | |
Filesystem::walkToRoot | 1 | 23 us | |
ArcanistWorkingCopyIdentity::readLocalArcConfig | 1 | 65 us | |
FileList::__construct | 1 | 21 us | |
FileList::contains | 1 | 16 us | |
arcanist_load_libraries | 1 | 21 us | |
ArcanistLintEngine::getFilePathOnDisk | 255,557 | 3,517,791 us | |
ArcanistLinter::addLintMessage | 426 | 8,660 us | |
Filesystem::readablePath | 6,872 | 54,039 us | |
ArcanistSpellingLinter::loadDictionary | 1 | 15 us | |
Filesystem::assertWritableFile | 22 | 893 us | |
ArcanistRepositoryAPI::getScratchFilePath | 2 | 222 us | |
Child Calls | |||
realpath | 263,724 | 1,531,957 us | 42.6% |
is_link | 263,722 | 357,178 us | 9.9% |
strncmp | 263,722 | 61,263 us | 1.7% |
phutil_is_windows | 263,724 | 55,266 us | 1.5% |
explode | 2 | 37 us | 0.0% |
trim | 2 | 6 us | 0.0% |
implode | 2 | 5 us | 0.0% |
end | 2 | 5 us | 0.0% |
array_pop | 2 | 4 us | 0.0% |
strlen | 2 | 3 us | 0.0% |
substr | 2 | 3 us | 0.0% |