XHProf phutil_escape_html Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| phutil_escape_html | 363 | 27,137 us | 100.0% |
| Parent Calls | |||
| phutil_tag | 273 | 12,943 us | |
| phutil_implode_html | 25 | 13,721 us | |
| PhutilRemarkupRule::replaceHTML | 32 | 28 us | |
| array_map | 32 | 445 us | |
| PhutilRemarkupBlockStorage::restore | 1 | 0 us | |
| Child Calls | |||
| AphrontView::producePhutilSafeHTML | 7 | 15,737 us | 58.0% |
| phutil_escape_html@1 | 90 | 10,655 us | 39.3% |
| htmlspecialchars | 243 | 93 us | 0.3% |
| PhutilSafeHTML::__toString | 51 | 0 us | 0.0% |
| is_array | 275 | 0 us | 0.0% |