XHProf FileFinder::find Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| FileFinder::find | 424 | 84,517,448 us | 100.0% |
| Parent Calls | |||
| PhutilBootloader::registerLibrary | 1 | 288 us | |
| PhutilLibraryMapBuilder::loadSourceFileMap | 423 | 84,517,160 us | |
| Child Calls | |||
| md5_file | 596,994 | 27,828,576 us | 32.9% |
| ExecFuture::resolvex | 423 | 25,564,654 us | 30.2% |
| Filesystem::binaryExists | 423 | 9,905,937 us | 11.7% |
| is_dir | 597,418 | 4,556,062 us | 5.4% |
| ltrim | 596,994 | 1,664,688 us | 2.0% |
| substr | 1,193,988 | 1,619,616 us | 1.9% |
| explode | 423 | 754,649 us | 0.9% |
| count | 597,417 | 601,093 us | 0.7% |
| newv | 423 | 189,226 us | 0.2% |
| FileFinder::generateList | 846 | 45,782 us | 0.1% |
| trim | 423 | 26,153 us | 0.0% |
| array_merge | 423 | 2,714 us | 0.0% |
| is_readable | 424 | 2,603 us | 0.0% |
| array_unshift | 423 | 1,806 us | 0.0% |
| ExecFuture::setCWD | 423 | 1,686 us | 0.0% |
| ExecFuture::__destruct | 423 | 1,632 us | 0.0% |
| implode | 423 | 1,408 us | 0.0% |
| phutil_is_windows | 423 | 1,316 us | 0.0% |
| strlen | 423 | 629 us | 0.0% |
| FileFinder::getFiles | 1 | 252 us | 0.0% |