XHProf Filesystem::resolvePath Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| Filesystem::resolvePath | 1,524 | 18,937 us | 100.0% |
| Parent Calls | |||
| Filesystem::readFile | 1,496 | 18,580 us | |
| Filesystem::listDirectory | 4 | 49 us | |
| Filesystem::walkToRoot | 6 | 46 us | |
| PhabricatorPathSetupCheck::executeChecks | 6 | 32 us | |
| Filesystem::createDirectory | 3 | 108 us | |
| Filesystem::changePermissions | 3 | 28 us | |
| Filesystem::assertWritableFile | 6 | 94 us | |
| Child Calls | |||
| is_link | 1,524 | 6,744 us | 35.6% |
| realpath | 1,527 | 3,622 us | 19.1% |
| Filesystem::isAbsolutePath | 1,524 | 2,019 us | 10.7% |
| explode | 3 | 3 us | 0.0% |
| substr | 3 | 0 us | 0.0% |
| strlen | 3 | 0 us | 0.0% |
| implode | 3 | 0 us | 0.0% |
| phutil_is_windows | 3 | 0 us | 0.0% |
| array_pop | 3 | 0 us | 0.0% |
| end | 3 | 0 us | 0.0% |
| trim | 3 | 0 us | 0.0% |