XHProf FileFinder::find Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| FileFinder::find | 382 | 34,167,401 us | 100.0% |
| Parent Calls | |||
| PhutilBootloader::registerLibrary | 1 | 283 us | |
| PhutilLibraryMapBuilder::loadSourceFileMap | 381 | 34,167,118 us | |
| Child Calls | |||
| ExecFuture::resolvex | 381 | 11,289,041 us | 33.0% |
| md5_file | 477,266 | 9,472,065 us | 27.7% |
| Filesystem::binaryExists | 381 | 5,712,666 us | 16.7% |
| is_dir | 477,648 | 1,609,185 us | 4.7% |
| ltrim | 477,266 | 474,730 us | 1.4% |
| substr | 954,532 | 362,859 us | 1.1% |
| explode | 381 | 224,073 us | 0.7% |
| newv | 381 | 75,719 us | 0.2% |
| count | 477,647 | 74,751 us | 0.2% |
| FileFinder::generateList | 762 | 19,701 us | 0.1% |
| trim | 381 | 10,164 us | 0.0% |
| array_merge | 381 | 1,186 us | 0.0% |
| array_unshift | 381 | 1,028 us | 0.0% |
| is_readable | 382 | 934 us | 0.0% |
| ExecFuture::__destruct | 381 | 667 us | 0.0% |
| ExecFuture::setCWD | 381 | 486 us | 0.0% |
| implode | 381 | 471 us | 0.0% |
| phutil_is_windows | 381 | 453 us | 0.0% |
| FileFinder::getFiles | 1 | 240 us | 0.0% |
| strlen | 381 | 115 us | 0.0% |