XHProf PhutilErrorHandler::getLibraryVersions Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| PhutilErrorHandler::getLibraryVersions | 1 | 414 us | 100.0% |
| Parent Calls | |||
| PhutilErrorHandler::formatStacktrace | 1 | 414 us | |
| Child Calls | |||
| file_get_contents | 8 | 104 us | 25.1% |
| scandir | 5 | 67 us | 16.2% |
| file_exists | 20 | 42 us | 10.1% |
| preg_match | 13 | 24 us | 5.8% |
| phutil_get_library_root | 5 | 16 us | 3.9% |
| array_unique | 5 | 5 us | 1.2% |
| PhutilBootloader::getAllLibraries | 1 | 3 us | 0.7% |
| ksort | 1 | 1 us | 0.2% |
| trim | 16 | 1 us | 0.2% |
| substr | 4 | 0 us | 0.0% |
| dirname | 5 | 0 us | 0.0% |
| PhutilBootloader::getInstance | 1 | 0 us | 0.0% |