XHProf phutil_escape_html Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| phutil_escape_html | 1,322 | 3,385,111 us | 100.0% |
| Parent Calls | |||
| phutil_tag | 802 | 2,677,725 us | |
| PhutilTranslator::translate | 67 | 17,785 us | |
| array_map | 237 | 109,894 us | |
| PhutilRemarkupRule::replaceHTML | 100 | 26,506 us | |
| phutil_implode_html | 108 | 551,433 us | |
| PhutilRemarkupBlockStorage::restore | 8 | 1,768 us | |
| Child Calls | |||
| AphrontView::producePhutilSafeHTML | 33 | 1,723,371 us | 50.9% |
| phutil_escape_html@1 | 274 | 1,275,484 us | 37.7% |
| PhutilSafeHTML::__toString | 170 | 41,909 us | 1.2% |
| htmlspecialchars | 828 | 2,067 us | 0.1% |
| is_array | 921 | 1,436 us | 0.0% |