XHProf FileFinder::find Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| FileFinder::find | 427 | 84,873,953 us | 100.0% |
| Parent Calls | |||
| PhutilBootloader::registerLibrary | 1 | 139 us | |
| PhutilLibraryMapBuilder::loadSourceFileMap | 426 | 84,873,814 us | |
| Child Calls | |||
| md5_file | 598,295 | 26,773,601 us | 31.5% |
| ExecFuture::resolvex | 426 | 25,651,464 us | 30.2% |
| Filesystem::binaryExists | 426 | 10,899,521 us | 12.8% |
| is_dir | 598,722 | 4,593,619 us | 5.4% |
| ltrim | 598,295 | 1,773,967 us | 2.1% |
| substr | 1,196,590 | 1,647,630 us | 1.9% |
| explode | 426 | 698,058 us | 0.8% |
| count | 598,721 | 569,652 us | 0.7% |
| newv | 426 | 175,240 us | 0.2% |
| FileFinder::generateList | 852 | 44,052 us | 0.1% |
| trim | 426 | 24,237 us | 0.0% |
| array_merge | 426 | 2,592 us | 0.0% |
| is_readable | 427 | 2,412 us | 0.0% |
| array_unshift | 426 | 1,717 us | 0.0% |
| ExecFuture::__destruct | 426 | 1,533 us | 0.0% |
| ExecFuture::setCWD | 426 | 1,494 us | 0.0% |
| implode | 426 | 1,307 us | 0.0% |
| phutil_is_windows | 426 | 1,245 us | 0.0% |
| strlen | 426 | 646 us | 0.0% |
| FileFinder::getFiles | 1 | 121 us | 0.0% |