XHProf FileFinder::find Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| FileFinder::find | 424 | 61,983,157 us | 100.0% |
| Parent Calls | |||
| PhutilBootloader::registerLibrary | 1 | 287 us | |
| PhutilLibraryMapBuilder::loadSourceFileMap | 423 | 61,982,870 us | |
| Child Calls | |||
| md5_file | 596,994 | 20,246,367 us | 32.7% |
| ExecFuture::resolvex | 423 | 18,677,296 us | 30.1% |
| Filesystem::binaryExists | 423 | 7,398,254 us | 11.9% |
| is_dir | 597,418 | 3,555,077 us | 5.7% |
| ltrim | 596,994 | 1,196,242 us | 1.9% |
| substr | 1,193,988 | 1,018,482 us | 1.6% |
| explode | 423 | 551,419 us | 0.9% |
| count | 597,417 | 322,390 us | 0.5% |
| newv | 423 | 137,663 us | 0.2% |
| FileFinder::generateList | 846 | 32,879 us | 0.1% |
| trim | 423 | 19,466 us | 0.0% |
| is_readable | 424 | 1,838 us | 0.0% |
| array_merge | 423 | 1,824 us | 0.0% |
| array_unshift | 423 | 1,299 us | 0.0% |
| ExecFuture::setCWD | 423 | 1,175 us | 0.0% |
| ExecFuture::__destruct | 423 | 1,139 us | 0.0% |
| implode | 423 | 991 us | 0.0% |
| phutil_is_windows | 423 | 889 us | 0.0% |
| strlen | 423 | 412 us | 0.0% |
| FileFinder::getFiles | 1 | 251 us | 0.0% |