XHProf Filesystem::resolvePath Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| Filesystem::resolvePath | 28 | 376 us | 100.0% |
| Parent Calls | |||
| Filesystem::readFile | 4 | 63 us | |
| Filesystem::walkToRoot | 4 | 60 us | |
| FileList::__construct | 3 | 21 us | |
| FileList::contains | 3 | 33 us | |
| ArcanistWorkingCopyIdentity::readLocalArcConfig | 1 | 36 us | |
| arcanist_load_libraries | 1 | 12 us | |
| Filesystem::listDirectory | 1 | 15 us | |
| PhutilBootloader::loadExtension | 3 | 48 us | |
| ArcanistWorkflow::selectPathsForWorkflow | 1 | 31 us | |
| Filesystem::readablePath | 2 | 14 us | |
| phutil_get_library_name_for_root | 4 | 30 us | |
| PhutilUnitTestEngine::getTestPaths | 1 | 13 us | |
| Child Calls | |||
| is_link | 28 | 88 us | 23.4% |
| Filesystem::isAbsolutePath | 28 | 85 us | 22.6% |
| realpath | 29 | 62 us | 16.5% |
| getcwd | 2 | 3 us | 0.8% |
| explode | 1 | 2 us | 0.5% |
| implode | 1 | 1 us | 0.3% |
| substr | 1 | 0 us | |
| strlen | 1 | 0 us | |
| phutil_is_windows | 1 | 0 us | |
| array_pop | 1 | 0 us | |
| end | 1 | 0 us | |
| trim | 1 | 0 us |