XHProf phutil_split_lines Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| phutil_split_lines | 303 | 219,579 us | 100.0% |
| Parent Calls | |||
| ArcanistDiffParser::didStartParse | 63 | 26,357 us | |
| DifferentialHunk::getSplitLines | 67 | 24,301 us | |
| PhutilRemarkupEngine::splitTextIntoBlocks | 20 | 7,051 us | |
| DifferentialChangesetParser::processHighlightedSource | 28 | 105,478 us | |
| PhabricatorMetaMTAEmailBodyParser::stripQuotedText | 71 | 33,839 us | |
| PhabricatorMetaMTAEmailBodyParser::parseBody | 54 | 22,553 us | |
| Child Calls | |||
| array_map | 28 | 83,745 us | 38.1% |
| preg_split | 303 | 23,444 us | 10.7% |
| strlen | 303 | 7,525 us | 3.4% |
| end | 303 | 313 us | 0.1% |
| array_pop | 168 | 195 us | 0.1% |