XHProf Filesystem::walkToRoot Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| Filesystem::walkToRoot | 4 | 21,679 us | 100.0% |
| Parent Calls | |||
| ArcanistWorkingCopyIdentity::newFromPathWithConfig | 1 | 452 us | |
| phutil_get_library_root_for_path | 3 | 21,227 us | |
| Child Calls | |||
| phutil_is_windows | 37 | 7,281 us | 33.6% |
| Filesystem::resolvePath | 8 | 4,865 us | 22.4% |
| FileList::contains | 4 | 3,403 us | 15.7% |
| FileList::__construct | 4 | 2,527 us | 11.7% |
| spl_autoload_call | 1 | 243 us | 1.1% |
| implode | 37 | 63 us | 0.3% |
| is_link | 8 | 24 us | 0.1% |
| array_pop | 33 | 17 us | 0.1% |
| explode | 4 | 16 us | 0.1% |
| strlen | 37 | 2 us | 0.0% |