XHProf Filesystem::resolvePath Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
Filesystem::resolvePath | 4,784 | 1,273,282 us | 100.0% |
Parent Calls | |||
Filesystem::readFile | 439 | 217,875 us | |
Filesystem::walkToRoot | 8 | 1,707 us | |
FileList::__construct | 7 | 864 us | |
FileList::contains | 7 | 845 us | |
ArcanistWorkingCopyIdentity::readLocalArcConfig | 1 | 37 us | |
arcanist_load_libraries | 1 | 14 us | |
Filesystem::listDirectory | 167 | 3,896 us | |
phutil_get_library_name_for_root | 12 | 3,002 us | |
Filesystem::readablePath | 3,848 | 804,718 us | |
Filesystem::assertWritableFile | 103 | 106,528 us | |
Filesystem::createDirectory | 72 | 75,054 us | |
Filesystem::changePermissions | 72 | 34,056 us | |
Filesystem::getMimeType | 15 | 15,205 us | |
PhutilDirectoryFixture::newFromArchive | 13 | 6,410 us | |
LinesOfALargeFile::__construct | 3 | 1,432 us | |
Filesystem::remove | 16 | 1,639 us | |
Child Calls | |||
Filesystem::isAbsolutePath | 4,784 | 649,097 us | 51.0% |
is_link | 4,784 | 48,950 us | 3.8% |
realpath | 4,870 | 28,291 us | 2.2% |
phutil_is_windows | 86 | 14,029 us | 1.1% |
substr | 86 | 1,804 us | 0.1% |
trim | 86 | 1,799 us | 0.1% |
explode | 86 | 251 us | 0.0% |
implode | 86 | 141 us | 0.0% |
array_pop | 86 | 108 us | 0.0% |
end | 86 | 100 us | 0.0% |
strlen | 86 | 39 us | 0.0% |