XHProf FileFinder::find Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| FileFinder::find | 427 | 90,484,135 us | 100.0% |
| Parent Calls | |||
| PhutilBootloader::registerLibrary | 1 | 128 us | |
| PhutilLibraryMapBuilder::loadSourceFileMap | 426 | 90,484,007 us | |
| Child Calls | |||
| md5_file | 598,388 | 29,360,549 us | 32.4% |
| ExecFuture::resolvex | 426 | 27,410,242 us | 30.3% |
| Filesystem::binaryExists | 426 | 11,029,857 us | 12.2% |
| is_dir | 598,815 | 4,950,120 us | 5.5% |
| substr | 1,196,776 | 1,908,484 us | 2.1% |
| ltrim | 598,388 | 1,860,546 us | 2.1% |
| explode | 426 | 801,528 us | 0.9% |
| count | 598,814 | 627,275 us | 0.7% |
| newv | 426 | 194,539 us | 0.2% |
| FileFinder::generateList | 852 | 45,499 us | 0.1% |
| trim | 426 | 26,451 us | 0.0% |
| array_merge | 426 | 2,984 us | 0.0% |
| is_readable | 427 | 2,679 us | 0.0% |
| array_unshift | 426 | 1,918 us | 0.0% |
| ExecFuture::__destruct | 426 | 1,754 us | 0.0% |
| ExecFuture::setCWD | 426 | 1,730 us | 0.0% |
| implode | 426 | 1,613 us | 0.0% |
| phutil_is_windows | 426 | 1,331 us | 0.0% |
| strlen | 426 | 669 us | 0.0% |
| FileFinder::getFiles | 1 | 113 us | 0.0% |